Posts

Showing posts from August, 2012

iphone - Why is there no NSHTTPURLProtocol class? -

OK, NSURLProtocol is a very common right? This is to define all types of protocols, right? So why is nothing like NSHTTPURLProtocol ? Instead, there is an informal category on NSURLRequest with specific HTTP content why do they do this? Why not have any custom HTTP protocols instead? What is the idea behind putting all these things in NSURLRequest instead of a custom protocol for HTTP? Of course, HTTP is often used, but anyway: it is misleading to understand the cocoa / cocoachoch entire URL loading system. Now there are two documents, one says, "Create a custom NSURLProtocol subclass for your custom protocol". The second says: "Create informal categories like HTTP stuff for HTTP stuff at" NSURLRequest ". There is hope that someone with a deep understanding can make clear;) These are for many good reasons: You never have access to NSURLProtocol , which is giving power to the connection; Only the NSURL connection / object itsel

c++ - How can i convert a string into a ZZ number? -

I am using the ElGamal encryption / decryption algorithm to apply. I got the thing that it is working but the algorithm wants to convert the message to an integer, so it can be encrypted. So if I work like a number 1234 works fine, but how can I enable a C ++ string (STD :: string) to convert it into a ZZ number and then add that ZZ number Change from to a string? LE : ZZ This is a class that represents a large number. Ex: 18287348238476283658234881728315674273671623781254124517353 So basically I'm looking for "Hello World" for example and for running four of four and getting the ASSI Code of the letters, I will get a number: 72 101 108 108 111 32 87 111 114 108 100 " And then I have to change this number to" Hello World "string Or maybe a better way. An easy way to do this is: std:: String str ("1234567890"); NTL :: Zed Number (NTL :: INIT_VAL, str.c_str ()); Now note that: std :: cout & lt; & Lt; Str & lt

c++ - segmentation fault when calling a function -

Segmentation error shows when calling Update_Multiplier and gdb debugger: Program received signal SIGSEGV < P>, division fault. Update_Multiplier () () double roundabout = 116325; 0x080b74e8; Dual purpose = 1.1707e + 07; Int main () {Update_Multiplier (); } Zero Update_Multiplier () {cout & lt; & Lt; "Function 0" & lt; & Lt; Endl; // Detective vectors double gra [1000] [1000]; Double GRB [1000] [1000]; Double dum x = 0; Double step [1000] [1000]; Double tuning = 2; Double LReddom [1000] [1000]; Double LRBDIM [1000] [1000]; Cout & lt; & Lt; "Function 1" & lt; & Lt; Endl; // subgradient vectors for (last I = 1; i & lt; = noOfNodes; i ++) {for (int j = 1; j & lt; = noOfNodes; j ++) {if (c [i] [J]! = 0) {dumX = 0; For (int p = 1; p & lt; = noOfCommodity; p ++) {dumX + = X [i] [J] [P]; } Gra [i] [j] = dumX-u [i] [j] * y [i] [j] -q [i] [j]; GRB [I] [J] = Q [I] [J] -B [I] [J] * Y [I] [J]; }}} // update stepsize co

silverlight - Problems with checkboxes in Datagrids -

I'm having some problems with the checkbox in DataGrid checkboxes are not obliged to make the data grid popular Because there is no property on the institutions for this. Actually what I am trying to do, when I check the checkbox, then I add it to the list to return the item ID in that row. The problem I'm having is when I check some checkboxes and pageplates with PagePage, this checkbox unchecks on the first page and tries to delete them, but the datagroup has already moved to another page, so it A null reference throws an exception because it does not find those objects anymore, how do I fix it? If you need to post me your code then let me know One way to optimize partial class The unit framework that has been created for you Add your Boolean property to the unit category Now you can bind the checkbox column, because any other column can retain data between paging of the ant. Then you can tell about the items in the context that are currently checked.

apache - If No File, Rewrite URL -

I have two .htaccess files that I need to combine in one. The first one does a simple file extension remover In order to keep the second URL, it rewrites all the requests to go to the third party's app. What do I need, the rules are not enough to be smart, to see on other servers if the file is present at first Rule1:.! RewriteCond% {REQUEST_FILENAME} at RewriteEngine -dRewriteCond% {REQUEST_FILENAME} \ php -f RewriteRule ^ (*.) $ $ 1.php Rule 2: (. *) Option + FollowSymLinks + Index RewriteRule RewriteEngine Current ^ $ http://third.party.com/$1 [P] #RewriteCond% {THE_REQUEST} ([^ ? \]) #RewriteRule ^. * $ Index.php /% 1 I am away from an .htaccess wizard, so I have all the ears for suggestions. You can add the L flag to stop typing on a given rule. for example:. RewriteCond% {REQUEST_FILENAME} on RewriteEngine -dRewriteCond% {REQUEST_FILENAME} \ -f php RewriteRule ^ $ $ 1.php [L] RewriteRule ^ ((*.). *) $ Http : //third.party.com/$1 [P] #RewriteCon

terminology - Name of a path containing the complete file name? -

For me, there was always a way that "walks to do something", but without "something" After a piece of bread, like a chicken until it does not hit. But the goal is not part of the path. That's my belief. Then, Example: C: / EF / Bar = Path. C: /foo/bar/something.html = Path and "Target". Can anyone tell me what the correct word is here? How do I call such a path along with the file? "full path"? "The perfect way"? "Path with file name"? (Not accurate! "Path with file name and extension" ... too long way) Want to know this is a special name for this! :) Good chicken example ... I think you full path But But, it does not matter what the path indicates, it is a directory, file , Tool or otherwise Normal form of a path, a file name or directory name, specifies a unique location in the file system. This does not require any extension , because other mechanisms work as a file type.

Wordpress: Find posts in category 1 and not in category 2 -

I have two categories, see and hide ... I list all these posts Wish scene sequence, which is quite easy. However, due to user error (or inspection) there may be some posts that are in both categories. How can I pull those positions which are in the visual category, but not in the hidden category? Here's my current solution. I'm not sure the get_posts method is the least expensive option I can use ... $ cat = get_cat_ID ( 'Visible'); $ Cat2 = get_cat_ID ('HideMe'); $ Myposts = get_posts (array ('cat' = & gt; "$ cat, - $ cat2", 'showposts' => 5)); If not ($ myposts) {// do something} I'm not sure Get_posts, But did you check the query_posts? See It works the same as get_posts, not sure it is less expensive, but give it a try $ Catnow = 13; // replace with category id that you want to draw $ exception = ', -19, -18'; // Replace with Category ID that you want to exclude $ post_args = array ('

eclipse - Configuring WPS Workbench to run an Autoexec on startup -

Is there any experience in configuring a WPS engine to run, essentially an autoxacs at startup? I can not get any document about how to implement this feature for WPS. I think that they have the option available to set up, but I do not know how to enter the file and what name to name it. - Indicates that they have the AutoAxAp option enabled, but when I run the Pro options, there is no value in it. If this is not a work in WPS, then does Eclipse have the ability to run a script on startup? ' Thanks Ah! After googling a bit more carefully, and reading something between the lines of Google results I figured it out. You have to perform automatic oxyc to run, file name is Autoexec.sas, such as in SAS, and then put it in the WPS workspace's root directory.

Sitecore workflow on specific fields of an item -

It is possible to set up a workflow in Sitcom, such as changing some of the items in the item is not the reason to go to the item Appropriate states for? We want to make many areas editable and instantly publishable, while implementing workflow for changes in a specific area. If this field was edited, the item will be sent to the 'Waiting approval' state. I did not know anything on this. I have written some code that came out of this snippet and an example: "lang-cs prettyprint-override"> class filter {public zero process (workflow pipeline ARGs Args) {Database Master = Factory. Database ("Master"); Item items = arguments Datatoms; IWorkflow wf = master.WorkflowProvider.GetWorkflow (item); Allow BlueSififf to make any changes to Bodifield (item, wf); } /// & lt; Summary & gt; /// If the 'body' field of the item was not modified then by changing the pending workflow status to /// for approval and submitting the publication command t

PHP SimpleXML with XPath -

मेरे पास XML संरचना है जो इस तरह दिखता है: & lt;? Xml संस्करण = ? "1.0" & gt; & LT; सर्वेक्षण & gt; & LT; प्रतिक्रियाओं & gt; 0 & lt; / प्रतिक्रियाओं & gt; & LT; सवाल & gt; & Lt; title & gt; कुछ सर्वेक्षण प्रश्न & lt; / title & gt; & LT; जवाब & gt; & Lt; शीर्षक & gt; उत्तर 1 & lt; / शीर्षक & gt; & LT; प्रतिक्रियाओं & gt; 0 & lt; / प्रतिक्रियाओं & gt; & Lt; / जवाब & gt; & LT; जवाब & gt; & Lt; शीर्षक & gt; उत्तर 2 & lt; / शीर्षक & gt; & LT; प्रतिक्रियाओं & gt; 0 & lt; / प्रतिक्रियाओं & gt; & Lt; / जवाब & gt; ... & lt; / प्रश्न & gt; ... & lt; / सर्वेक्षण & gt; मैं $ response सरणी में मानों से मेल खाने वाले उत्तरों के लिए & lt; responses & gt; मान को बढ़ाना चाहता हूं I यहां बताया गया है कि $ response एरे संरचित है: $ response = array ('sid' = & gt; session_id (), 'answers

android - newInstance failed: no <init> -

मैं एक उप गतिविधि को प्रारंभ नहीं कर सकता 01-22 15:: 14: 38.906: डीबग / dalvikvm (411): logcat में मैं इस लाइन को देखने के newInstance विफल रहा है: कोई & LT; init & gt; () यह Dalvik में लाइन है कि उत्पन्न करता है कि logcat। / * * सार्वजनिक टी newInstance () फेंकता InstantiationException, IllegalAccessException * * इस वर्ग का एक नया उदाहरण बनाएँ। * / Static void Dalvik_java_lang_Class_newInstance (स्थिरांक U4 * args, JValue * pResult) ... / * "nullary" निर्माता लगता है * / init = dvmFindDirectMethodByDescriptor (clazz, "& LT; init & gt;" "() वी"); अगर (init == शून्य) {/ * आम कारण: गुप्त गैर स्थिर भीतरी वर्ग ctor * / LOGD पर "इस" आर्ग ( "newInstance विफल रहा है: कोई & LT; init & gt; () \ n"); DvmThrowExceptionWithClassMessage ("Ljava / lang / InstantiationException;", clazz-> डिस्क्रिप्टर); RETURN_VOID (); } इस गतिविधि एक यहाँ है कार्रवाई मैं एक टाइमर हैंडलर में गतिविधि को सक्रिय करने क

flex - Cannot assign to a non-reference value -

I have a strange problem, I have an XMLList with elements that have attribute status of 0 to 0 . When I want to add text to the element of that XMLList by following statement, I get an error message: textElements (@ Position == columnIndex) = "anyString"; 1050: A non-reference value can not be assigned. What's wrong with this? Thank you Marcus while working with XMLLists You should be a bit more specific . You have to really tell that the list you want to change is also in the list, when you filter it below 1. This should do this for you: textElements. (@ Position = = column index) [0] = "any string";

associations - rails belongs_to has_one. need some explanation -

मेरे पास दो मॉडल हैं: ग्राहक और संपर्क ग्राहक तालिका में कॉलम : id,: firstName,: lastName संपर्क < / कोड> तालिका में कॉलम : id,: cid,: hphone,: cphone इसलिए यदि ग्राहक तालिका में डेटा है 1 जोश मैकडोनल फिर संपर्क तालिका में संबंधित है 5 1 947-245-2342 342-543-8585 क्या संघों मैं यहाँ उपयोग कर सकते हैं? संपर्क होगा संबंधित_to: ग्राहक,: विदेशी_की = & gt; "आईडी",: class_name = & gt; "ग्राहक" ग्राहक वर्ग को क्या करना चाहिए? इसके अलावा, एक सरल find_byXXX कैसे दिखता है अगर मैं सभी को प्राप्त करना चाहता हूं ग्राहक ( प्रथम नाम , अंतिम नाम और संबंधित hphone और cphone ) आप पास हैं, लेकिन आपका संबंधित_तो होना चाहिए। : विदेशी_की प्राथमिक आईडी के संदर्भ संचयित फ़ील्ड का नाम होना चाहिए: संबंधित_तो: ग्राहक,: foreign_key = & gt; "Cid" और अपने Customer.rb वर्ग में: है_ऑन: संपर्क,: foreign_key = & gt; "Cid" अंत में, आपकी खोज इस तरह दिखाई दे सकती है: @customers = Custom

html - Dynamically create in PHP a drop-down list from a range of numbers *with increments* -

In PHP, I need to create a drop-down list of dynamically numerical options: Code> & lt; Select & gt; & Lt; Option value = "120" & gt; 120 cm & lt; / Options & gt; & Lt; Option value = "121" & gt; 121 cm & lt; / Options & gt; & Lt; Option value = "122" & gt; 122 cm & lt; / Options & gt; & Lt; Option value = "123" & gt; 123 cm & lt; / Options & gt; & Lt; Option value = "etc ... I have to specify only the start and end count. Thanks for any help resonance "& lt; Select & gt; "$ range = range (120,130); foreach ($ cm as limit $) {echo" and option option = '$ cm' & gt; $ Cm cm & lt; / Option & gt; "}} echo" & lt; / Select & gt; "; function can handle all the conditions you describe in the comment. category (30.5, 50.5, 0.5); // 30.5, 31, 31.5, 32, etc. Category (30, 50, 2); // 30,

firefox - Javascript, aliases and IE -

In an attempt to save space, I have created a complete group of all aliases for the function in my code. It works fine in FF, but now I'm trying to add support for IE and it's not happy. j = string; F0 = j.fromCharCode; J = j.prototype; J.f1 = j.indexOf; J.f2 = j.lastIndexOf; J.f3 = j.concat; J.f4 = j.substring; Function aka (c, e) {return function () {return c [e] .apply (c, logic);}}} w = window.location; D = document; B = document.body; F5 = aka (d, "createElement"); F6 = aka (b, "appendChild"); F7 = aka (d, "getElementById"); ... etc. I know that the alias () function does not work in IE is an alternative method that works in both browsers? This is one of those answers that does not answer directly to your question, but I think That it will help you: You should write your code without all the small variables and surnames. Write it completely because it will be very easy to maintain then , when you move the code into producti

java - Accessing Map value in a separate JSTL loop -

Assume that the result of a query is a field named resultSet is available templateId . In addition, the map exists with the key of 'TemplateMap' templatedId . I am not able to get any results from the following, appreciate any help. & lt; C: foreach var = "line" item = "$ {resultSet.rows}" & gt; & Lt; C: Out value = "$ {templatemap [row.templateId]}" /> & Lt; / C: foreach & gt; Note: This is a coding horror app, which results in & lt; Sql: query & gt; is the result of. The following does not work either. & lt; C: foreach var = "line" item = "$ {resultSet.rows}" & gt; & Lt; C: set var = "tmplId" value = "$ {row.templateId}" /> & Lt; C: Out value = "$ {templatemap [tmplId]}" /> & Lt; / C: foreach & gt; The code you posted (and edited) is syntactically valid, so The problem is somewhere other. To begin, the co

c# allocating memory to the virtual machine -

Is Java's XMX equal to 1024m switch, which allows you to increase memory allocation in the virtual machine? No CLR handles memory allocation in Java in this regard very differently in this regard. It will continue to increase the heap size with the upper limit (in addition to the architectural limitations). On the 64-bit operating system, while targeting the X64, CLR will continue to allocate memory to a process, the total memory available in the system on a 32-bit system, or When targeting X86, the practical upper limit is between 1.2 and 1.6 GB. At this point, you will start running out of memory exceptions. (Theoretically, it should use 2GB, but CLR itself takes some space, and the way it addresses the memory, due to this, memory causes this system to be out of errors.) EDIT: Here is a good article description. I believe the main reason is that JVM requires the use of -Xmx because it does not release memory on the operating system, so a way to limit memory cons

Alternative XAML authoring tools? -

If I am writing XML, then I have to use Expression Blend or Visual Studio, or are there alternate devices? looks a lot better than Blend in any way: -) < P> The site also offers some more examples.

tomcat - Configuring Grails Access Logging from run-app -

By using the run-app, the Tomcat-plugin is used in Confetti, how do I access the Grails AccessLogValve in server.xml Can I modify it in existence? I need development since the production, I will just bump into the battle. Thank you in advance You enter 'ConfigureTomcat' event in script / _Events.groovy You can configure in callback for: import Org.apache.catalina.valves.AccessLogValve eventConfigureTomcat = {TOMEAC - & gt; Tomcat.host.addValve new AccessLogValve (directory: base based, prefix: 'localhost_access_log.', Pattern: 'normal')}

cocoa - How to add popup menu on NSToolbar item? -

I tried to add NSPopupButton + CustomView, but this is not what I wanted to do. Work " You want to change the 'type' to NSPopUpButton "Pull Down". There is just one great video demonstration on what you are looking for:.

objective c - Cannot strip newline from Cocoa NSMutableString -

Hey, for my life, it's not working: .. NSMutableString * B64String = [[[NSMutableString alloc] initWithFormat: @ "Basic% @", [string_base64 encoding: string]] autorege]; [B64 string string bitimating customer inset: [NSCRTitreatersSatNewelCarCarSat]]; NSLog (@ "(% @)", B64 string); NSRange found range = [b64String rangeOfString: @ "\ n"]; If (foundRange.location! = NSNotFound) [B64 string stringearplying ocransoffstring: @ "\ n" with string: @ "" option: 0 range: mixed range]; NSLog (@ "(% @)", B64 string); In both the ways that I found - and they do not work ... I have to do something wrong. But, if I break on NSLog, I can clearly see "\ n" (in the debugger and in the console) in the string Besides, this is true: If (foundRange.location! = NSNotFound) and I can see that string bayer rehearsing octersonationofstrings method ... < Div class = "Post-text" itemprop = "text"

c# - How to implement tag counting -

I have my tag like this in my database: table: item column : Item IDID, Title, Content Table: Tag Col: Tag ID, Title Table: Item Tag Column: Item ID, Tag ID / Example - This is the right Sidebar of StackWorflow C ## 59279 Squared × 14885 ASPN-MVC × 9123 links × 4337 Tag × 33 9 If I want to know the count of each tag such as the Stackoverflow flow tag How do I do to it? In the table tag, a type of query that I will display, I am open to both regular SQL and Linux Add more columns, which work as a counter when you add or remove a tag from an object, you update that counter (in other words, when on the item tag to increase the contact on the tagged item Line, then the counter decreases) items Add tags: Enter item tags (item, tag) value ('$ itemid', '$ tagid'); Upload tag SET counter = counter + 1 WHERE tagid = '$ tagid'; Remove tag from item item tag where item id = '$ itemid' and tagid = '$ tagid'; Upload tag SET counter =

java - Set up page height in JasperReports -

Can I set the height of the page for the report by resizing its shape from Java source (generated by IREP) ( Crossing the parameters ???). thank you in advanced! Use your JasperPrint item on the document says it is sets page height

cocoa - Segmenting code into multiple source files -

I have often read about the desirability of the large (monolithic) block of app code sharing, in separate source code files Make it easy to maintain, but I have not understood anything yet how to do it. The process of creating separate files when adding subclass of course is simple - and a good example of what I am trying to achieve - but what if we only have one controller object and we Code (1) Interface and implementation file group in which only methods are used to calculate things and (2) only printing-related methods And pair, but prefix A method may be able to reach all other methods as if they are all in the same (source) file. Any detailed advice about this (this is possible) will be greatly appreciated. Thank you: -) This is best done through the use of categories, for example, MyController + Print.h: #import Create a header file named "MyController.h" @ MyController (Printing Support) - (Zero) Print: (ID) Sender; @end and the MyController + p

interface builder - iPhone and User Defined Runtime Attributes -

What happened to the "user defined runtime features" under the identity inspector in the interface builder on creating an iPhone UI? I used to define a custom outlet for the table of UITableView when version 3.1 / 3.2 or earlier disappeared. > I hope you mean this: In IB 3.2, open the Library window (Command + Shift + L), select the Classes tab and select the category that you want to add an outlet to the dropdown list Want to Now with the option to add more outlets, there is the Outlet tab at the bottom of the window.

How to specify an Order or Sort using the C# driver for MongoDB? -

मैं सी # चालक को बता कर सॉर्ट ऑर्डर कैसे बताता हूँ "पाठ"> आप यह भी MongoCursor वर्ग पर SetSortOrder विधि का उपयोग करके भी कर सकते हैं: डीबी ["संग्रह"]। ()। ढूँढें ()। SetSortOrder (SortBy.Ascending ("SortByMe "));

ruby on rails - Is there a drop-in replacement for ActiveRecord to_xml that's faster? -

I have a large array of ActiveRecord objects (~ 400 elements) that I have to convert to XML. I've used array.to_xml for convenience, but it is very slow - the server is busy for 20 seconds, and about 5 seconds when idle. I was just a server passive, and found that: The ActiveRecord query (with two-level completions included) is approximately 0.3 on average. To convert, the approximate results on XML takes approximately 4.9 s. 4.86 s user CPU time out of that. Is the builder :: XML drop-in replacement for markup that will improve the speed of the two-XML? Or do I have to roll in some hands? The following link claims to be a 2 - 3x speed increase. It is not a drop in substitution, but it is a technique that uses to create the structure that the two-XML will move faster.

Android SDK beginner question -

I am developing an NXb developer in my second attempt to use Android SDK and I am developing on the Mac platform and I saw That the latest version of the SDK does not include anything except tools (so I do not have any plugins, I have no goal to choose from within the downloaded package). So I tried to use the Android SDK and AVD Manager to download and install it, however, I found this error: Failed to fetch url I went to settings And forced the box to be checked through HTTP, but no results. I was suggested to see a configuration file, but no one found. Any suggestions? I am dying to make my hands dirty with SDK. Whenever I've seen that error, I've tried the download several times and finally It went through. When I was behind the proxy, I only ran in it, but that can not be your problem.

java - converting elements of a list to string -

I would like to get the string text of the elements stored in a list, list & lt; Cars & gt; . ToArray () and toString () will be the best choice of methods? Yes, but doing it manually gives you more control: // Start list with exact length & lt; String & gt; String list = new array list & lt; String & gt; (ListOfCard.size ()); For (car car: inventory permission) {stringsList.add (car.toString ()); } If you do not override the toString () method and do not want to override the ID, you can use the car.getName () isttead's car.toString () (or any asset combination like you)

objective c - iPhone SDK synthesizing BOOL Array -

/ .h #import & lt; UIKit / UIKit.h & gt; @ इंटरफेस कुछViewController: UIViewController {BOOL boolArray [100]; } @ प्रॉपर्टी (नॉटैटमॉमिक) बॉस बूलअरे; @ एंड // एम # इमपोर्ट "कुछ ViewController" @ कार्यान्वयन SomeViewController @ संश्लेषण करें boolArray; @end मुझे शायद एक मौलिक गलती थी, लेकिन मैं इसे अभी मिल सकता हूं, बुलअरे [100] के साथ संश्लेषण करना या तो काम नहीं करता। आपको संभवतः पूर्ण प्रकार की आवश्यकता है, अर्थात @ प्रॉपर्टी (नॉनैटॉमिक) BOOL boolArray [100] ; < पी> [100] महत्वपूर्ण प्रकार की जानकारी है, न केवल यह इंगित करता है कि आवंटित करने के लिए कितना स्थान है। इसके अलावा, मुझे लगता है कि संपत्ति को const BOOL * जो सौंपा नहीं जा सकता है, इसलिए शायद यह पठनीय होना चाहिए सही काम करना संभवतः यह केवल पढ़ने के लिए है, जिसका अर्थ है कि थिन सरणी के पॉइंटर को लाएगा और फिर सरणी के सदस्यों को असाइन करने के लिए उसे सबस्क्रिप्ट कर देगा। वैकल्पिक रूप से आप NSArray इसके लिए, लेकिन इसके लिए आप NSNumber s को boolVaules के साथ उपयोग करने की आ

closures - JScript.NET private variables -

I'm thinking about the JScript.NET private variable, please take a look at the following code: import system; Import the system. Import system Drawing; Var JSPDF = Function () {var State = 0; Var startpage = function () {state = 2; Outside ('beginPage'); } Var out = function (text) {if (state == 2) {var st = 3; } MessageBox.Show (text + '' + state); } Var addHeader = function () {out ('header'); } Return {endDocument: function () {state = 1; AddHeader (); Outside ('enddocument'); }, Start document: function () {beginPage (); }}} Var j = new JSPDF (); J.beginDocument (); J.endDocument (); Output: Start Page 2 Header 2 and Document 2 If I have the same in any browser Run script, output is: Start Page 2 Header 1 and Document 1 Why is it ?? Thank you, Paul. Just an estimate, but it appears that JScript.NET does not support closing the same way EMCAScript, therefore external documents The state variable is not referring to the

python - iPhone app with Google App Engine -

I have prototype an iPhone app that uses (internal) SQLite as a data base, its intention is finally This was to communicate with a server via PHP, which would use MySQL as a back-end database. I just searched Google App Engine, however, there is very little information about it. I think it would be good to use the Python interface to write data in the store - but I have very little information about the capabilities of GQL, I basically wrote all working database code using MySQL, internally with SQLite With tested on the iPhone. Will the GQL offer the same functionality which SQL can do? I have read on this site that he does not support the involvement of questions, apart from this is it really relational? Actually I think my question is whether the APL usually works with SQL backend, which works with Google's app engine with GKL? I hope it is clear ... any guidance is great. True, Google App Engine is a very cool product, but datastore is a different animal MySQL Data

java - Do/can abstract classes replace interfaces? -

In Java, you can create an abstract class that contains only abstract methods. On the other hand, you can create an interface that Announces similar methods. This is the case, can you use an abstract class instead of the interface? Not always: One class only one < / Em> class more than one interface Compare more: Table class versus interfaces Unlike the interface, the intangible category may contain fields that are static and not the last, and these may be applicable methods. Such intangible classes are similar to the interface, except that they provide a partial implementation, it is left in subclasses to complete the implementation. If there is only abstract method announcements in an abstract category, then it should be declared as an interface instead. Multiple class transit class can be applied anywhere in class, whether it is related to some other way. Think about comparative or cloning, for example. By comparing, the intangible sections are mos

javascript - problems with modal window/background -

I'm trying to create a modal window for my website, I'm having problems with overlay or modal divas I'm not sure What is the problem? Everything except the model window should not be clickable, but for some reason my navigation & lt; Ul & gt; & Lt; Li & gt; Tags are visible and clickable. Here is the CSS of my modal window: element.style {display: block; Left: 50%; Margin-left: -210px; // generated with javascript margin-top: -85px; // generated from javascript status: fixed; Top: 50%; Width: 450px; Z-index: 100; } Here is the CSS of my background overlay: element.style {height: 1436px; // generated with javascript generated: 0; Opacity: .75; Status: Completed; Top: 0; Width: 100%; Z-index: 105; } What am I doing wrong? tag (or underlying ul ) and set it below 100, or set the z-index of your modal window and overlay, so it li s .

iphone - Want a flickering UIImageView (CoreAnimation and alpha-value) -

I would like a UIImageView that I can make it with the core animation and alpha-value of Flickr. I tried to do this: for (int a = 1; a & lt; = 100; a ++) {schwarz.alpha = 0.7; [UIView startup permissions: zero reference: zero]; [UIView Set Animation Crow: UIViewAnimationCurveEaseIn]; [UIView Set Animation Duration: 1]; Schwarz Alpha = 0,1; [UIView commitAnimations]; } But it works only if it goes to 0.1 and then not for 0.7. I also tried: schwarz.alpha = 0.7; [UIView startup permissions: zero reference: zero]; [UIView Set Animation Crow: UIViewAnimationCurveEaseIn]; [UIView Set Animation Duration: 1]; Schwarz.alpha = 0.1; [UIView commitAnimations]; [UIView startup permissions: zero reference: zero]; [UIView Set Animation Crow: UIViewAnimationCurveEaseIn]; [UIView Set Animation Duration: 1]; Schwarz.alpha = 1; [UIView commitAnimations]; [UIView commitAnimations]; [UIView startup permissions: zero reference: zero]; [UIView Set Animation Crow: UIViewAnimationCurveEaseIn];

Terracotta With Hibernate and EHCache -

Product Name Head on Swimming with Soup Background : App There are some "legacy" stubborn codes that do not use hibernate, but there is a house-developed cash execution, new organizations are hibernate-enabled. What do I want : To use terracotta for Hibernate 2 level cache, I think then I have increased home-made cache impresses and slides I want to slide in ahask (for a very homogenous version) - obviously I want Terracotta to follow that eachchitch too. | Heritage - Persistence) -> Ehakas -> Terracotta Am I on the right track? Forgive the new BB question, but terracottao site really confuses me because this is trying to sell it to commercial varieties. The short answer is yes. You should work your application without terracotta, but with Hibernate first, when your code works with Hibernate, then adding the link is very straight forward to install the guide) Later, adding terracotta jar, setting up a terracotta config file and changing

regex - Visual Studio Find and Replace Regular Expressions help -

मैं कुछ असाइनमेंट स्टेटमेंट को प्रतिस्थापित करना चाहूंगा जैसे: int someNum = txtSomeNum पाठ; Int anotherNum = txtAnotherNum.Text; के साथ int someNum = Int32.Parse (txtSomeNum.Text); Int anotherNum = Int32.Parse (txtAnotherNum.Text); नियमित अभिव्यक्तियों का उपयोग कर, क्या Visual Studio के ढूँढें और बदलें के साथ ऐसा करने का एक अच्छा तरीका है? मुझे यकीन नहीं है कि नियमित अभिव्यक्ति क्या होगी। मुझे लगता है कि विज़ुअल स्टूडियो में, आप चिह्नित कर सकते हैं घुंघराले ब्रेसिज़ {txtSomeNum.Text} के साथ भाव। फिर प्रतिस्थापन में, आप इसे \ 1 के साथ देख सकते हैं इसलिए प्रतिस्थापन रेखा int32.Parse (\ 1) । अपडेट: के माध्यम से @ Timothy003 वीएस 11 {} \ 1 वाक्यरचना और उपयोग () $ 1 के साथ दूर करता है

c# - Examples of useful or non-trival dual interfaces -

हाल ही में एरिक मेइजर और अन्य दिखाते हैं कि कैसे IObservable / IObsverver है IEnumerable / IEnumerator का तथ्य यह है कि वे दोहरे अर्थ हैं कि एक इंटरफ़ेस पर कोई भी ऑपरेशन दूसरे पर मान्य है, इस प्रकार के लिए सैद्धांतिक आधार प्रदान करना अन्य दोहरे इंटरफेस मौजूद हैं? मुझे किसी भी उदाहरण में दिलचस्पी है, न सिर्फ नेट आधारित। एक और उदाहरण होगा TextReader और TextWriter , हालांकि अवलोकन और गणक के मामले की तुलना में अधिक शोर भी है सिद्धांत में टाइप हस्ताक्षर होंगे: इंटरफ़ेस आईटेक्स्ट रीडर {// read: void - & gt; Int int पढ़ें (); } इंटरफेस आईटेक्स्टवर्टर {// लिखे: इंट - & gt; शून्य शून्य लिखें (इंट वैल); }

c++ - Use of unique on STL vector with a structure -

In a programming function, I am trying to ensure that only a unique item contains unique items in primitive types With, the operation is as simple as: vector & lt; Int & gt; Lala; Lala.push_back (1); Lala.push_back (99); Lala.push_back (3); Lala.push_back (99); Sort (lala.bjin (), lala.nd ()); // Lala: 1, 3, 99, 99 Lala.Raze (Unique (Lala.bizin), Lala.nd ()), Lala.And ()); // Lala: 1, 3, 99 However, the problem is that I am not using int. But: Type -File {int x; Int y; Int maxX; Integer maximum; Integer width Inti height; Int id; } Rectangle; Bool SameRect (Rake first, next second) {return first.x == second.x & amp; Amp; First.y == sec. Y & amp; Amp; First. With == seconds.With & amp; Amp; first. Heights == seconds. Heights & amp; Amp; First.mxx == seconds.Maxx & amp; First. MaxY == seconds. MaxY; } // ... vector & lt; Rect & gt; Lala; // ... sort (lala.bjin (), lala.and ()); Lala.Raze (Unique (Lala.bjin (), Lala.and (), Equirect), Lala.

regex - what does this line do in Perl? ($rowcol =~ m/([A-Z]?)([0-9]+)/); -

यह लाइन पर्ल में क्या करती है? my @ pararsarray = ($ rowcol = ~ एम / ([एजेड]?) ([0- 9] +) /); $ rowcol ए 1, डी 8 आदि जैसी कुछ है ... और मुझे पता है कि स्क्रिप्ट किसी तरह उन्हें विभाजित करती है क्योंकि अगले दो पंक्तियां ये हैं: मेरी $ पंक्ति = $ पार्सेडर्रे [0]; मेरी $ col = $ parsearray [1]; मैं यह नहीं देख सकता कि यह पंक्ति क्या करती है ($ rowcol = ~ m / ([A-Z]?) ([0- 9] +) /); और यह कैसे काम करता है। ऑपरेटर एम / एक पैटर्न मैच है, मूल रूप से // का एक पर्याय । यह एक वैकल्पिक पहला अक्षर से मेल खाता है और फिर पंक्ति कॉलम में 1 या अधिक अंकों से मेल खाता है। प्रत्येक सरणी के साथ मैच के परिणाम के रूप में एक सरणी वापस मिल जाती है जिसमें एक मिलान वाले समूह (ब्रैकेट्स में) होता है। इसलिए $ pararsarray [0] में अक्षर (या कुछ नहीं) और $ parsearray [1] में अंक हैं।

decode - Read the information my computer is sending on an ssl connection -

I would like to read the notification, a Java application in Firefox is sending to a website on the SSL connection. I am using WireShark, and I believe that if I can tell in some way that the encryption key is using Firefox then a Wireless can be called, then Wireless SSL decrypts messages Will be able to This website is about my computer. If the question is unclear then I apologize ... where to find a clue, there is no indication. Actually does not belong to programming. However for this to happen, you will need a certificate for the site that your app is connecting to, both public and private key parts - so if this is not a site for you, then you do Will not be able. If you control the web site you received, then just follow it on the Wireshark Wiki.

javascript - description text in a text field? -

I want to put some details text in light gray in the text field. Then when a user clicks on it, the text disappears and he can type whatever he wants. Is there a jquery plugin for this? I do not know what to look for in Google.

mysql - Multiple database connections in Rails -

I am writing a simple version of phpMyAdmin in Rail; This web app will be run on a web server (where the user will be able to point to the database name, hostname, user name, password, and port number of database servers running on the same network). The user will then be connected to that machine and will be able to use the UI to manage that database (add or remove columns, drop tables, etc.). I have two related questions (your help too) In a traditional rail application, I store the database information in database.yml, though here I Need to do it dynamically. Is the database .iml file a good way to free up the file and tell the train to access the connection data available at the run-time by the user? Individual users should be connected separately Databases (or even hosts). I think I need to keep track of the connection between an established database connection and a user session. To prevent the railway from launching ActiveRecord using database.yml, you You

notifications - How to build 'Gmail notifier' like tool? -

This would be good on my web application - a Gmail Notifier, like the device, basically configures the user, this system tray Runs in and pops a 'balloon' to inform him. I am a web developer, I do not know where to write such devices, can someone show me the right direction? I know that Java and PHP, if it counts. Google's one that you can take advantage of I can start this route by myself soon, so I will update this reply as it develops.

Using auto_increments to join MyISAM tables in MySQL -

As long as I've been writing php for a long time, it was always a skill I learned myself and I just hit Confidence of a little bit of confidence on the host! MyISAM tables containing a MySQL db auth user and permissions : - ID (Auto increment) - Email permissions - ID (auto increment) - Name To join many-to-many in these tables (or one-to-many ), I've always used pull arrays in this way: user_permissions- id (auto increment) - user_id - permission_id (I know That's capable of the Nodb relationships, but this and More complex and more memory, so I want to be with my ISAM for the purpose of q) My special question is: Is it wise to use tables of automatic growth using the keys To join, or should I generate my extra key? I know that if a table gets contaminated then problems can arise and I have to rebuild, or if I start mirroring two DBS and the keys get out of sync. I know that if I generate a unique hash for each line to join) then to create a ha

how to convert word document to pdf using vb.net? -

संभव डुप्लिकेट: कैसे pdfsharp या itextsharp जैसे एक मुफ्त घटक का उपयोग कर vb.net का उपयोग कर pdf शब्द दस्तावेज़ को परिवर्तित करने के लिए ... "post-text" itemprop = "text"> < P> मेरा सुझाव है कि आप दस्तावेज़ीकरण पहले पढ़ते हैं, जैसे, और यदि आपको परेशानी है तो एक अधिक विशिष्ट प्रश्न पूछें।

iphone - Convert image data to character array -

I am creating a mobile ad SDK for iPhone and I think the only way to store pictures is to When I have the character array definition defined: In the const char, the landing page controller [in the library] has to convert the images to the converter array. BackButtonData [] = {0x00, 0x01, 0xFF, ...}; ... I can use it this way: UIImage * backButtonImage = [UIImage imageWithData: [Copy to NSDT DataWithBits: BackbootData Length: SizeBackdownDataFreeWhenDone: NO]]; ... and set up the controller's toolbar button with these icon images. I have fulfilled the hopes of finding a script to take image data and spitting left a character array, came empty handed, so I tried to do myself but he would fail badly Gaya. What I want [hopefully] is a data or script that is to be taken from the data: NSData * imageData = UIImagePNGRepresentation (image); And spitting it in this format: 0x00, 0x01, 0xFF, ... then I can copy it to the source file. Any idea [or link to a scri

.NET wrapping a call/callback pair to appear synchronous -

I have a third party COM object that uses event callback to make the call to indicate that Has finished my work. obj.Start (); Then after some time, it will raise an incident to say that it is done. P> obj.Start () has tried to use auto reset events to handle; M_autoReset.WaitOne (); and in the event handler: zero operationfinished () {m_autoReset.Set (); } But it seems that the set () and waiton () are both on the same thread, so it gets trapped. Is this an easy way to handle? There is a quick thought over the top of my head, but it does not appear to be why it is not Does Private Readonly Object m_locker = new object (); Private volatile bull m_complete; . lock (m_locker) {m_complete = false; } Obj.start (); While (true) {bull full lock (m_locker) {full = m_complete; } If (complete) {break; } Thread Sleep (500); // Wait for half-a-second, to see what we have done. YMMV } . zero operationfinished () {lock (m_locker) {m_complete =

.net framework 4 redistributable -

Just think where we can get .net framework 4 beta redistribution. We want to include it in our CD, so that we can distribute it to our customers and need to install them from the CD, not the web, because our application does not require internet. Any suggestions will be appreciated. Thanks Navin Only beta is currently available: There is also a cut down The version that may be sufficient for most applications:

text - Change label based on element visibility (jQuery) -

HTML: & lt; a href = "#" & gt; अगला तत्व दिखाएँ & lt; / एक & gt; & Lt; div & gt; सामग्री & lt; / div & gt; jQuery: $ ('a')। टॉगल (फ़ंक्शन () {$ (this) .next ()। Show ();} , फ़ंक्शन () {$ (यह) .next ()। Hide ();}); मैं उपर्युक्त jQuery को कैसे बदलूं, जिससे तत्व दिखता है जब "छिपाएँ" के लिंक में "दिखाएं" को भी बदलता है? धन्यवाद! परीक्षण नहीं किया गया है ... $ ('a' ) .टागाल (फ़ंक्शन () {$ (यह) .next ()। शो (); $ (यह)। Html ("अगले तत्व छिपाएं");}, फ़ंक्शन () {$ (this) .next () छिपाना (), $ (यह)। HTML ("अगले तत्व दिखाएं");});

Adding a string in front of a string for each item in a list in python -

I have a list of websites in a string and I was adding "http" to the front for the loop The first index was " Yes ", but when I return it, the list does not change. My list of websites is "http" for p: if p [0]! = "H": p = h + p else: On coming back n When I return the list, it returns my original list and does not add "http". Can somebody help me out? This list can also be done with the understanding: N = [i for i.startswith ('h') 'i' for other 'i')

Partitioning Mysql table -

What is the best way to divide a MySQL table (MyISAM)? The product details in the table which are arranged with the independent growth product ID are expected to have millions of records in it, so performance is necessary.

iphone - Decoding ima4 audio format -

I am compressing some audio files to reduce the download size of an iPhone application. In particular I command I'm using FFF on line .waf format CAF format w / ima4 compression. I've read horrible posts about this exact topic (wooji-juice.com). I'm having trouble / w "decoding IMA 4 packet" phase. I have seen their sample code and I am trapped. Please Additional information : Here's what I got done and I'm having trouble ... I'm a simulator and phone Can run .wav files in both. I can compress the .wav files to the compression by using afconvert on the command line .caf w / ima4 compression. I'm using SoundEngine which came w / CrashLanding (I have fixed a memory leak). I have modified the soundEngine code to search for amformatid 'IMA 4'. I do not understand the blog written above by starting a blog post / "Calculate the size of unpacked data" Why do I need to do this? Besides, what does the word "packet" mea

python - Preprocess SHPAML in Django's template loader? -

Whether the Django template loader has all the templates loaded through SAPAPAL (i.e. Is there a way to run? It shows that the HTML is outdated? I know that there is a way to recycle SPAPAL on a complete directory, but I like being able to run it on demand, so I do not have to remember it every time I change the SHPAML source I am I think that from admin.py will also use SPAGL (at least for test servers), but capable of hacking into the Denggo's template engine and capable of making it every run it's a preprocessor Loads through the medium, it would be nice. I suspect that you can get (or whatever loader you use) and < Code> load_template_source to overwrite the method, for example: import the django.template.loaders.app_directories from shpaml import convert_text class SHPAMLLoader (L oder): DEF load_template_source ( Self, * args, ** kwargs): shpaml_source = super (SHPAMLLoader, self). Load_template_source (* args, ** kwargs) html = convert_text (shpaml_

ios - UIView duplicate -

I need to duplicate a view, with all the subwigs. Does anyone know how to do this? The simplest (but probably not fastest way) is the easiest way to store and un-archive it in a NSDT object? NSDTa * tempArchive = [NSKEADArchive ArchiveDatabaseAbject: MyView]; UIView * myViewDuplicate = [NSKeyedUnarchiver Unstatable Object Withdetectivity: TempArchive];

java - Add mojo to custom lifecycle defined by another maven plugin -

I am using a Maven plugin which defines custom packaging type and lifecycle for my projects "Foo -plugin "This packaging lets call" foo "I have no control over the plugin, but I want to expand it into the lifecycle definition in my plugin. I am writing another plugin, it is called "bar-plugin". I should use a certain goal of my plugin in the process-source phase of a project with "foo" packaging, not in any other case. I have defined a mosaic to execute in the process of formulas but it executes in any process-source phase of any project, not just with "foo" packaging / ** * Gail Bar * @ Fez Process-Source * / Public Class Extends BarMojo AbstractMojo I also extend the existing lifecycle Has attempted to use a custom lifecycle definition such as: This is being completely ignored, even Set the element to True. Is it possible for a plugin to extend a lifecycle defined by a plugin and if so, what am I doing? Edit: The

mysql - PHP PDO: how does re-preparing a statement affect performance -

I am writing a quasi-basic database wrapper class and want to create a leaking method that automagically : This should be prepared for each separate statement only for the first time and will force and execute the query continuously on the call. I think the main question is: How is it reproduced in the work of the MySql statement, whether the PDO has magically accepted this statement (so I do not have to ) And end the operation? If I do not , I get it by creating a unique key for each individual query and make a statement prepared in a personal array in the database object - its Under the unique key, I am planning to get array keys in one of the following ways (none of which I like). In order of preference: Programmer an additional, always pass the same parameter when the method is called - something on the pattern of basename (__ FILE__, ".php"). __LINE __ (This method works only when our method is called within a loop - which is most of the time this functi

caching - Is possible to intercept a request for a nonexistent file with lighttpd? -

Is it possible to configure lighttpd so that a request for the file is successful if the file exists , For example, the CGI script is handled and redirected, if the file does not exist? The one I am trying to achieve is a set of image files on disk that is generated by a script and will directly generate a script image if the file is not present, at the request of the service. And will save it to disk (for future requests) and then either the image will serve directly or redirect to the same URL which will be successful this time. I'm essentially caching the output generated on the disk. I currently have a prototype in which the script always handles the request, the file reads and resonates if it exists, but I instead save the overhead and serve directly if Lighttpd is possible. You can be the best of both worlds. If you see it X-Sendfile: path to file , then the lighttpd will serve the file:. There is a PHP example on the documentation page.

iphone - Ignore CDATA while xml parsing -

itemprop = "text"> I'm new to iPhone development. I want to ignore the CDATA tag while parsing because it considers the HTML tag as text. Since I want to display the content alone, I want my parser to ignore the CDATA tag. My source code is [CDATA [& lt; Br / & gt; & Lt; P class = "author" & gt; & Lt; Span class = "by" & gt; By: & lt; / Span & gt; By Sydney Eber & lt; / P & gt; & Lt; Br> & Lt; P & gt; A & lt; / P & gt;] in the week since. Is there a way to ignore CDATA tags? Is there a way to purse my source twice, so does it only show content? Please give me some sample code. Please help me. Thank you. If you want to get HTML, then parse XML, remove the text content of the node, then parse that text as HTML.

.htaccess - htaccess and redirecting sub-domains -

Hello I am creating a site with some proud URL What I want to do is use HTACAC to redirect any subdomain i.e. / email to the main domain where an index will record the PPP subdomain. Is it possible or am I making it up? I do not think you mean "subdomain", but I think you can do that You can do this by entering something in your .htaccess file like this: RewriteRule ^ RewriteRule ^ ([-_A-Za-z0- 9] +) $ / index.f P.? After that, in your index.php file, you decide whether you refer to " To test "subdomain", use & lt ;? php var_dump ($ _ GET);? & Gt; In your index.php file.

javascript - Internet Explorer line 1 char 1 code 0 error -

I am using jQuery + Druple and some jQuery plugins. All is well with Firefox but in IE, I'm getting this kind of problem. line: 1 character: 1 error: object expected URL: I have included JS files. How do I know where the problem is? In which file? line 1? If & lt; Script src = "... url ..." & gt; & Lt; / Script & gt; Javascript does not return to the URL of , you can get errors like this, but some other content (Html) I checked the page, but all with the source The scripts actually start back to JavaScript. With a little more excavation, it seems that this eval code triggers error messages: artNoStyleAdding (document) It seems that it comes from this Script is: & lt; Script type = "text / javascript" & gt; If (drupal.jsEnabled) {$ (document) .ready (function () {window.setTimeout ("ArtNoStyleAdding (document))", 2000);})}} & lt; / Script & gt; This is the last but a script in the document

multithreading - How to create a resetable "process" or "thread" in Ruby? -

I've got this script, which uploads some files, connects via SS and something on remote server It does, like some kind of deployment script, and I want to run it whenever it wants to run and want to be able to reset it in the middle of processing. DEF deployment # kill some stuff here end def do_deploy $ deploy! If $ $ Deployed = Thread.N.N {Deployed} $ Deployment # When I am not included here, it stops execution of the deployment # First when the thread switches to someone else, and # then does not end the reading = threads.new while the line = gets.chomp do it! "Line" when "q" comes out of the "exit" thread.Exit, then "r" occurs when do_deploy end-end readings. Join Even if $ deploy.join executes the entire deployment thread, it prevents any input from reading, so I reset it between execution can not do. And I can not include it at the end of the script. What I need to do, it's to run the job while listening to the input

iphone - how to retrieve particular datas from html page in objective c -

I am new to iPhone development. I want to display data taken from inside a HTML table from a web page. Is there a way to get data from the table in the HTML page? The HTML page is a source code for a page in a website. I only have the webpage URL, from my source code (html file), I just need to get a share of data from the table Please help me. Thank you. Why do not you use it which has been developed by Matt Gallagher. This library is not only meant to use XML data but also parses HTML data using XPITH. You can use the following function of XPathQuery: NSArray * PerformHTMLXPathQuery (NSData * document, NSString * query);

c# - NHibnerate data design recommendations -

While doing some research in the mapping of one-to-one relationship, I've got some statements that ask me some questions. Database design decisions. Actually, I have some institutions like: People, contact, parent Contact and parents are both people, The guardian can not be both or both. Each of these three entities is in the database design that comes with me, and all the three tables have a primary ID (person identity). From database design perspective, it seems that there is a well-generalized and properly executable way to represent the database and its relationships (at least for me). At this point, I use a mapping of the C # classes and the most natural mapping approach to mapping the NHibnerate to represent these entities. I have other options (one-by-one, one -to-many, etc.) require that I add one or more unnecessary FK to tables. By browsing through the NHibernate documentation, I stumbled on the following statement: This feature is often useful only for l

Filter a RSS flux by keywords in PHP -

I have a small site in PHP (which is dynamic, still stable). I think many sites publish RSS flux or whatever names I wonder if there is a possibility to load such a RSS flow, filter it by site keyword theme and use it in PHP Display something like a thematic news column. Is this work complicated? What should I do? I'm totally new in the field, so sorry if such questions have already been answered. Update: There were some errors in this reply code. & lt; RSS version = "2.0"> & lt; RSS version = "2.0"> & lt; RSS version = "2.0"> & lt; Channel & gt; Title> (title) & lt; / Title> & lt; Details> (Details) & lt; / Description> & lt; Link >> & lt; Item & lt; Title> New RSS creation tool & lt; / Title> & lt; Details> Produces feedsable RSS feeds, so that webmasters do not have to struggle with feed generation & lt; / Description> & lt; Link>

What are some unusual languages you have used for a CGI application? -

I'm sure we (I'm referring to web developers) like a web scripting language at one time or another Php, perl, python, or asp. But, we know that you can also write CGI applications in languages ​​like C. So, someone has the CGI application? Unusually, I mean a language that is not usually for writing CGI applications. Please make sure that your answers are about the languages ​​of which you actually used to write CGI applications - although for humorous effects, Can be mentioned. Edit - To make this more educational, please. - Unless it is a normal language, such as Pascal , running Apache with AS / 400.

Crystal reports not pulling same data as sql server -

मेरे पास निम्न कोड है: order_number चुनें, order_head से प्राप्त_डेट जहां order_head.order_number नहीं (ऑर्डर_एनम्बर द्वारा csa_log समूह से ऑर्डर_एनम्बर का चयन करें) और ऑर्डरर्नचर इन ('02', '03') और प्राप्त_डेट & gt; '01 .01.2010 'और buyer_code =' जीएपी 'समूह को ऑर्डर_एनम्बर द्वारा प्राप्त किया गया है, प्राप्त_डेटा द्वारा प्राप्त आदेश प्राप्त करें जब क्रिस्टल रिपोर्ट में चलाया जाता है तो उसी डेटा को एसक्यूएल सर्वर एक्सप्रेस के रूप में नहीं खींचता है। यह 7 के विरोध में केवल एक रिकॉर्ड खींच रहा है। किसी के पास कुछ अंतर्दृष्टि है? पहले ही, आपका बहुत धन्यवाद। (मुझे संदेह है कि नेस्टेड कथन के साथ कुछ करना है)। कई संभावनाएं दिमाग में आती हैं । पहले आपको पूरा यकीन है कि क्रिस्टल रिपोर्ट्स और डेटाबेस जो आप पूछ रहे हैं वह वही है। कमाल कितनी बार जब आप इन प्रकार के मुद्दों पर एक और देव पूछते हैं तो एक और सवाल उठाते हैं यहां तक ​​कि अगर आप इस मामले पर विश्वास नहीं करते हैं, तो इसे किसी भी तरह से जांचें। अनुमतियाँ विसंगति के लिए एक और कारण हो स

For loop is ambiguous -

I am using Visual Basic 2008EE and I have a problem with this loop: < Code> if x = CType ("new", primitive) then text window Write ("How many new users do you want to add?") K = TextWindow.ReadNumber () for MT = 1 Q NewUserEntry () Next And I get this error: "type 'MT' is controversial because the loop limit and phase segment do not change in the same type" I appreciate any help. return type of readman (or more accurately, k type of variable) is probably not a integer . When the compiler wants to visualize the type of mt , it fails after k , which is specified in the loop bound (maybe < Code> double ) and the loop phase (absolute integer constant 1) has the integer the compiler will not automatically accept the type of mt because the two matches Eat. as integer for MT = 1 of K NewUserEntry () Next