Posts

Showing posts from April, 2011

TEMP Environment variable expansion for C++ (Windows) -

मुझे विंडोज प्लेटफॉर्म में % TEMP% पर्यावरण चर मान स्ट्रिंग प्राप्त करने की आवश्यकता है I यदि मैं किसी भी तरीके (सी / सी ++) ( getenv () , ...) को इस पर्यावरण चर को प्राप्त करने का प्रयास करता हूं, तो यह "~" उस स्ट्रिंग में। उदाहरण के लिए: C: \ DOCUME ~ 1 \ pkp \ LOCALS ~ 1 \ Temp लेकिन मुझे कुछ कारणों से पूर्ण स्ट्रिंग प्राप्त करने की आवश्यकता है: सी: \ दस्तावेज़ और सेटिंग्स \ pkp \ स्थानीय सेटिंग्स \ Temp अगर कोई है इसे प्राप्त करने के लिए कोई भी कार्यप्रणाली जानता है, कृपया मुझे बताएं। कॉल पर छोटा नाम।

.net - Run an encrypted application -

I want to seal a pure application before distributing it to the user. My objective is to seal the app "AP.exe * .dll" and stop the user from loading the application except the application loader "Process.start (App.exe)". To prevent the user from double-clicking the app by double-clicking on "App.exe" I got an application called "", but what I need is something that is not integrated into the application. Both the application loader and the application client on the local PC. Depending on how strong this check should be. The simplest things that can possibly work: Check the process tree to find out the process that initiates your process Pass and find in a logic on the command line. If you are just trying to save those who themselves click on the wrong stuff, then why can I ask? Are you trying to implement some form of licensing solution? If so, any of the solutions given above will not present any challenge to the Kidi

GWT with MVP : add the same presenter to one container several times -

I am working with GWT with MVP pattern, in fact, implementing a search results page, search results Pictures are presented by + some information I have created a scene for an presenter and a search result (I will call this small square "thumbnail" for now), so that I add it several times to the search results page , And later the other pages It is necessary to use it in Result in my search, which disposes of thumbnail attendant, I'm just looping on my search results, giving the right information to the thumbnail attendant, and seeing "the visit" to see a container. I add: display.getResultsContainer (). Add (goodPresenter.getDisplay (.). AsWidget ()); The problem is that I only have one search result: It seems that adding the same presenter several times to the container is not considered to be such that I am browsing the internet for a while, But no relevant solution to my problem is found: ( Has anyone found any solution or is there a way to poin

c++ - Way in Visual Studio to display integers as bit array -

To show an integer / long / character variable, in Visual Studio, its basically or through a plugin Is there no way in the Debugger window as a bit array? For example, instead of viewing 5 or 0x5, I want to see 101. As a bonus feature, I want to see them with zero in the correct amount, so that the total width of the area is the type of actual quantity of bits. (I know that I can change with calc.exe, but this is a pain when debugging bit manipulation). There is a complete list of format specifications but there is no bit By the way, It's easy to change the hex (x format) or octal (o format) into mind. Simple table of octal or hex symbols just before the eyes. 5 a-> 1011010 after the day you fly

User Interface Design Tools -

Can you recommend some good user interface design tools for game development? Thanks in advance. A piece of paper and pen or marker is often good at minimizing common UI ideas Work the way in the beginning of any kind of design process. It's faster than Photoshop or any other device you use, it focuses on the big picture instead of minutes details like you can use in the menu just like the exact shade of blue Or two buttons are 50 or 75 pixels apart.

php - Three problems in uploading a file into database and then how to download it back -

& lt; php $ con = mysql_connect ("स्थानीयहोस्ट", "रूट", ""); अगर (! $ Con) {मर ('कनेक्ट नहीं किया जा सकता है:'। Mysql_error ()); } Mysql_select_db ("tcs", $ con); $ Upload_to = "./uploadedfiles/"; Move_uploaded_file ($ _FILES ["filename"] ["tmp_name"], $ अपलोड_to। "/"। $ $ _FILES ["फ़ाइल"] ["नाम"]); $ Sql ​​= "कर्मचारी मूल्यों में डालें ('$ _POST [उपयोगकर्ता नाम]', '$ _ फ़ाइलें [फ़ाइल का नाम] [नाम]')"; यदि (! Mysql_query ($ sql, $ con)) {मर ('त्रुटि:'। Mysql_error ()); } "कर्मचारी अपलोड की गई फ़ाइल" गूंजती है। "$ _ फ़ाइलें [फ़ाइल] [नाम]"; // अपलोड किए गए फ़ाइल का नाम दिखाना? & Gt; लेकिन तीन समस्याएं हैं: $ sql = "कर्मचारी मूल्यों में डालें ('$ _ POST [उपयोगकर्ता नाम]', '$ _ फ़ाइलें ' $ _ files [filename] [name] 'से यह कमांड फ़ाइल नाम सहेजा नहीं जा रहा है डेटाबेस में। और अगर म

heap - How to record every allocations and deallocations of memory on a program? -

I want to see that the fragmentation is due to the increased memory usage of my twisted server I have posted a question here: < / P> Now, what I'm going to do, imagine the heap. I found an article: The figure of the heap in the article is something I want. It is not difficult for me to draw such a figure with matplotlib or other tool. I have the hardest work: how to record memory allocation and deallocation? I know that I can modify the source code of CPYthon, add some logging code to omalloc.c and recompile Python, and run my server I can use modified CPYthon. But though, I do not want to waste time with that time. Then I am looking for some available tools. I know that a device valgrind can be used to detect a memory leak, but I do not know how to record allocation and deallocation. Invalid free But I think its mammock can detect something like this: Read the invalid My questions are: Record the deallocations of memory with all the allocation and tim

iPhone App upload -

I'm uploading an iPhone eBook on an iTunes connection. This is my problem: Recently the apple requires bundle name, bundle display name and product name author to be determined: title. There is a technical problem: - The bundle name can not contain spaces - it can be sorted by changing the bundle identifier using a conversion type Rfc1034 example: de.randomhouse. $ {PRODUCT_NAME: rfc1034identifier} But now there is a naming problem: - If I change the bundle identifier with an already uploaded application to upload again after a bugfix, Uploading is not possible: Changes to bundle identifier are not allowed This problem can be solved if I can - either the bundle identifier can change - or if I have books from the app store Dismissed, so that I Mr. Way could upload again Can anybody help me? Kind regards, Ulrich You do not have the basis of the bundle identifier on the product name is. If you have to change the name of the product, you can keep the old bundle i

php - combining Yenc files into 1 file -

O people, I am writing a PHP application to take an NZB file, take out these files, download them, then combine them, then decode them back into the binary state. I have managed the first part, but I am having trouble returning Yenc files to 1 Yenc file. Any ideas? Thanks Have you seen? Should you handle your decoding problem? If the rest of the problem only connects parts, have you tried a simple binary-protected app?

.net - DataBinding feedback in .NET2 -

I have an object object. I do 1 form 1_load with a text box in the name 1 text1: this.TextBox1.DataBindings.Add ("text", myObject, "name"); MyObject.Name has changed when I validate the text box. This is OK . I now internally modify myObject _name = "converted values" , but myTextBox text will not change. So ... how to do it on both directions, to and to textbox1? Your object needs to be implemented so that data binding will know that your object has changed.

html - Table cell being squashed by content in IE8 -

मेरे पास है: & lt; तालिका & gt; & lt; tr & gt; & lt; td & gt; & lt ; / टीडी & gt; & lt; टीडी & gt; & lt; / टीडी & gt; & lt; टीडी & gt; & lt; / टीडी & gt; & lt; टीडी & gt; & lt; / टीडी & gt; & lt; टीडी & gt; & lt; / टीडी & gt; & lt; / टीआर & gt; & lt; / तालिका & gt; टीडी के पास एक सीएसएस चौड़ाई विशेषता है जो इसे 50px में सेट कर रही है। जब सामग्री अन्य कॉलमों को भरती है तो सेल 50 सेकेंड के नीचे दब गया है। 32px। मैं सीएसएस के साथ चौड़ाई कैसे लागू कर सकता हूं? शैली सेट करें टेबल-लेआउट: तत्व पर निश्चित अन्यथा आपको स्वतः तालिका लेआउट एल्गोरिथ्म प्राप्त होता है, जिसे संक्षेप किया जा सकता है "ब्राउज़र अनुमान लगाए, आमतौर पर गलत"।

sharepoint - MOSS 2007 Create Lookup Column but list is not in dropdown -

I have created a list in sharepoitn and I'm trying to add a column whih to the other list to see The list I'm trying to see is a site on the site I'm on. I do not see the list of which I want to add in the drop down. Any idea why this list is not being displayed? Lookup column dropdown will only find lists on existing sites. What you want to do is: Create a site column on the parent site (the site that has the source list). This site should have a lookup in the source list & amp; The columns you need. In the list of child's site, add a column, and point to the site column you created in step 1. This should give you the functionality you are looking for.

class - Internationalization in VB.Net : Choosing the right structure type -

I'm about to start translating my vb.net application, and I do not want to use the default methods provided by To do this, Visual Studio requires me to make my application very light, and its size almost doubles to use the resources option. Therefore, I am planning to use something like a class, one of which will be the language language. Since I do not want to distribute language files as separate files (I want them to be hard coded), I have an easy way to find out whether each area of ​​the classroom is started or not . I was thinking something like an interface, where I do something like this: String Dim Good Message String and Interface Public Language English Implementation Language HelloMsg = "Hello! "Goodbye Message =" Bye! " It's not the right way to do this clearly (though I can use properties instead of Vars), but I was wondering if this was a way to check the compiler that everything is translated and warned about it No. Anyway, maybe t

gcc - Scope of C libraries in C++ - <X.h> vs <cX> -

C ++ programming language: Special Edition 431 on page tells that ... However, when I & lt; Cx> Style, I do not have to qualify for the namespace. For example ... #include & lt; Cmath & gt; Zero F () {double var = sqrt (17); } This will compile properly. Although the book says that & lt; The Cx> header defines the name only in the Steady namespace, you have permission to name those names without qualification. What am I missing here? P.S. GNU Use of GCC compiler MSWC team member Stephen T. Lovevage addresses the reality in this post (and some refinements for the standard) in this comment on your blog posting (): > Also, & lt; Cstddef> , & lt; Cstdlib & gt; , and std :: size_t etc should be used! I wanted to be very careful about that. C ++ 98 had a great dream in which & lt; Cfoo Namespace will declare everything in the CSS, and & lt; Foo.h & gt; in & lt; Cfoo & gt; and then drag everything

Windows SVN browser without shell integration? -

Can Windows SVN stores recommend a browser without any shell integration? I need it portable (with me on a flash drive), so without this one installation process this rule excludes TortoiseSVN. My repositories are local, so I need a tool that can access a file repository. If you go, you will find what you want - using the Rapid SVN Portable PAF Installer Be sure to do

c# - How do I add the result of factorial values? -

I have a logic problem here I want to add the result of factual values, but I'm not sure how to add them. Here's my code: using the system; Using System.Collections.Generic; Using System.Linq; Using System.Text; Namespace Task_8_Set_III {Class Program {Static Wide Men (String [] AGR) {For (EyeI = 1; I and LT; = 7; I ++) {Double C = I / IT (I); Console.light line ("is factorial:" + c); Console.ReadLine (); Console.print line ("add up"); }} Fixed double facts (double values) {if (value == 1) {return 1; } And {return (value * (fact (value - 1)); }}}}} Not sure that this is what you have for N You want to sum up all the parameters to that value, in this way you do it. using the system; Using System.Collections.Generic; Using System.Linq; Using System.Text; Namespace Task_8_Set_III {Class Program {Static Zero Main (string [] ARG) {double total = 0; For (int i = 1; i & lt; = 7; i ++) {double c = i / fact (i); Yoga + = C; Console.light line (&qu

c# - Is there an 'Application.DoEvents' at the form level? -

I currently have an application that produces many examples of the same winning form. Each instance of the form has a timer which updates many controls and some properties of the form at about 1 tick / second. Once the application reaches a certain number, then the timer tick, Updates' to paint. I want to hold the UI thread under the timer and allow the application without color, calling the application. Doants (I understand that applications. Duents () all applications have all pending window messages (which can include other timer's ticks - not sure - when I want to do this process). Now reprint of the form that many controls have been updated). It is not clear why you call DoEvents at all Want to just paint the window properly? What is the wrong way with the way it behaves right now? Duigent typically indicates that some background should be in the thread - in your case it may seem like it If you have a lot of events going on, if your GUI is so complex t

Dynamic and Static Libraries in C++ -

In my quest to learn C ++, I have come into dynamic and static libraries. I usually get it However, I want to know some things about them: Write them to the normal C ++ program , Minus main () function? How does the compiled program get a library? This is clearly not executable, so how can I say 'test.cpp' in 'test.dll'? Once I get it in my form, how do I include it in any other program? Is there a standard place to keep them, so that whatever compilers / linkers are required, find them easily? What is the difference between a dynamic and stable library (technically and practically)? How do I use third party libraries in my code (I see .dylib and .a files for MySQL C ++ connector I am getting all things related to libraries that are targeting people who already know how to use them. I, however, do not (but would like!) Thank you! (I should also note that I am using Mac OS X, and although it likes to be IDE-neutral or command-line orient

java - Unit testing for downloads -

I am writing a Java program that downloads and then processes many webpages without killing the remote server What is the best practice to test a component of the downloading program? Therefore the component that downloads and components that process the page must be different. At any time you are having trouble testing a piece of code of the unit, it is an indication that you are trying to do a lot in one component. Once you do this, you test part of the processing, meaning that the processor component takes only one string in the form of inputstream or input the download part For, you probably need integration testing. Integration tests are often more involved and a local web server (Mewen can do this) will require installation, or at least one file: URL.

CSS Reset of table border -

मेरे पास एक reset.css फ़ाइल है जिसमें निम्नलिखित घोषणा शामिल है: सीमा: 0 none; < / P> इसलिए जब मैं इस तरह एक टेबल बनाऊँगा: & lt; तालिका सीमा = "1" & gt; सीमा दिखाई नहीं देती है मैं सीमा को हटाने के बिना दिखाने के लिए सीमा कैसे प्राप्त करूं? 0 कोई नहीं; संपत्ति? कोड & lt; तालिका सीमा = "1" & gt; होना चाहिए। क्या तालिका बनाने के लिए एक तरीका है "reset.css" फाइल को अनदेखा करें? (यह भी सभी ब्राउज़रों में IE 6 +) के साथ ही काम करना चाहिए एक शैली = "सीमा: 1px ठोस;" से टैग शैलियाँ ओवरराइड विशेषता सेटिंग।

sql server - Can the SQL Case Statment fall through? -

Is there a way to use C # in the C # statement in case statement in SQL? What I do not want to do, is the example given below, but if my only option I think I will go with it. Example: Example: @NewValue = Case WHEN @MyValue = '1' THEN CAST (@MyValue as int) WHEN @MyValue = '2' then cast (@MyValue As int) ELSE NULL END Edit: I am using SQL Server. To answer your specific question: No, it can not be. For example, see. Each WHEN should have THEN result , and there is no way around it. THEN is not marked as an optional. It also applies to all other RDBMS used by me. Here's another example: You have a good alternative way to deploy as a comment, so I do not repeat it here.

PHP + MySQL + Ajax Search or Data Framework -

I tried several Ajax / JS "frameworks" and "data grid" to show some mysql data, but the problem It is that I need to get an ID from multiple columns (like 50) and some of them link, images, and the same query to create those links The main features which are looking good , Good search, sort and filter I do not have time to make all this script (and AJAX's To know more about this), I'm not starting a php / mysql, but the problem is ajax thing, then some thing, framework, datagrid or something I can describe, as low code editing as possible If you can come up with another solution which already comes with AJAX, then it will be very useful Maybe you want to try, in addition to the jQuery version, their Has a new sub-php version that handles all programs without Ajax. It can be fine for who you are searching for. It handles large data sets, and is a huge demo site with examples code, including PHP / MySQL back end.

c++ - Why does the interface for auto_ptr specify two copy-constructor-like constructors -

I was going through the auto_ptr documentation on this link, something that I could not understand why it did has gone. There are two announcements for the copy creator in the interface section 1) auto_ptr (auto_ptr and) throw (); 2) template & lt; Square Y & gt; Auto_ptr (auto_ptr & lt; y & gt; and) Throw (); What is the purpose of this. It is there that you can convert to points based on: struct base {}; Structure derived: base {}; Std :: auto_ptr & lt; Derivative & gt; D (new derivative); Std :: auto_ptr & lt; Base & gt; B (d); // converts In addition to this, you did not ask, but you will see that the per-constructor is non-present because that is because the owner of auto_ptr indicator will take over In the given sample, after the creation of b , d does not contain anything because it is unusable for use in containers, because auto_ptr is unusable It can not be copied. C ++ 0x ditches auto_ptr and assign it t

Getting the data from datatable in asp.net -

I am using datatable and putting outlook contacts I in your web application. This is my code DataTable myTable = New DataTable (); Datarov Dr. = myTable.NewRow (); Data columns myDataColumn = new DataColumn (); MyDataColumn.DataType = Type.GetType ("System.String"); MyDataColumn.ColumnName = "email"; MyTable.Columns.Add (myDataColumn); Microsoft.Office.Interop.Outlook.Application oApp = New Microsoft.Office.Interop.Outlook.Application (); foreach (Microsoft.Office.Interop.Outlook.AddressList addList in oApp.Session.AddressLists) {foreach (addList.AddressEntries Microsoft.Office.Interop.Outlook.AddressEntry addEntry) {Dr. [ "email"] = addEntry.Address.ToString (); MyTable.Rows.Add (Dr.); Dr = myTable.NewRow (); //Response.Write (addEntry.Address.ToString ()); }} My relation is I can write code like this when the contact is inserted into the table. Description of the line like this string S = [0] ["email"] toString () myTable.Rows can r

ruby on rails - Using increment(attribute) to set value for user's rating -

I'm thinking of writing an app with the question and answering the model. In the north there is a salary increase feature that can change any rating to change the value. So if I click on the answer that someone else makes the post, the answer will show 1 point. But, how can I / I use the whole user to increase ratings? In essence, it is similar to Stackoverflow. If you answer my answer above, then my user rating goes up. I want the same functionality. Do you want to increase the user while increasing? answer.increment (: vote) user.increment (: rating)

postgresql - PQgetisnull : Not not return true even value is empty in DB -

I am working on a bug in my database library which internally uses LibPak. I look at the following behavior I am feeling awkward: Postgre for SQL datatype DATE gives correct returns if the DG for DG is postgrescl datatype TIME it becomes correct if db but for VAARA, smashing ... on return Reddy was empty DB. PS I have not yet checked other data types empty string and zero (0) are not the same To see how many NULLs versus blank strings are present for your field in terms of tap, run a form of this query to see: SELECT COALESCE (& lt; field_name & gt ;, ' NULL '), COUNT (*) FROM & lt; Table_name & gt; WHERE & lt; Field_name & gt; = '' OR & lt; Field_name & gt; Number zero to group 1 Change the empty string ('') in this query with zero to check against the numerical field.

How to access all ringtones list in Android phone? -

I want to use a list of ringtones. How can I go about doing this? Later, do I want to add / add ring tones to the library? Is this possible? You can use it to use all existing ringtones. How to add a ringtone

scheme - What exactly are administrative redexes after CPS conversion? -

In terms of planning and conversion, I have a lot of difficulty in deciding which administrative (lambda) actually Only lambda expression that is represented by CPS, all conversions, But if you do not convert via "hand to" conversion or clever CPS converter, then you will not be typed If possible So, will welcome a good reference. ((lambda (u) ...) foo) is an administrative read, but (k foo) is not.

php - How to Pass json data to jquery autocomplete -

Hi guys, Does anyone help me pass this JSON data to the Json automple plugin Does ... as I'm a newbie for jquery, how do I want to do it ... [["0": "1", "id": "1 "", "" "," "Albania", "Country": "Albania"}, "Country": "Albania"}, "" "," Algeria "}," "", "", "," id "3", "id": "3", "1": "Angola", "Country": "2", "1" "4", "id": "4", "1": "3" "Anguilla"}, "Anguilla"}, {"0": "5", "ID": "5", "Anguilla", "4", "Antigua", "Country": "Anguilla", "Country" "1" "7", "id": "7", "id": "6", "id": "

jquery - last element with a class name in a div -

How can I add id = test to the class in a div? In this case I have div = 1000 with content and Lt; Div id = "test" & gt; & Lt; Div class = "a" & gt; 1 & lt; / Div & gt; .. You can use it: $ ('# test div.a: last')

c++ - In wxwidgets, how do I make one thread wait for another to complete before proceeding? -

I have a system where my singleton class has produced a thread to calculate. If the user requests another calculation, while another calculation is still going on, I want to tear the current thread and start a new one. But, before moving forward, it should first wait for the thread to complete the exit. Everything is broken by working to me, but I think there is an issue to ensure that only one thread runs. My approach is to call for the StartCalculation function mutex-> Lock (). And releases thread lock in the disaster, it is not working. Am I right to assume that if lock (lock) can not be found, then it is a spin and trying to regain the lock? Can this lock () be called from my main application thread? Any idea is useful, maybe wxMutex locks are the right mechanism for this. To wait for a thread, you need to make it editable and simply Use wxThread :: Wait () . Although I agree with the comment given above: It is not something you normally do and definitely do not do wit

interrupt handling - int 13h in windows protected mode? -

Can we use int 13h (Direct Disk read / write) in the Windows operating system or allow us in Windows protected mode Does not give, and if it is so, is the work round? thank you in advanced. No, the Windows sub-system, upon initialization during boot, will be reconfigured in the form of bios calls In BIOS interrupt handling are 16 bits, not protected mode and therefore int 13h will be invalid. This is the reason that there are drivers that have been written for safe mode from 32bit, which bypasses the BIOS completely. Which question asks - Why are you trying to do this? Windows will kill your code on any attempt to communicate with BOOS, such as "hey, you code, you talk to me as a Windows boss, you can not bypass me The only time when Intel 13h is used is the first boot phase of the Windows load. Will be done during or if you are using MSDOS as a system ie a window, Just boot into MSDOS, then validated using Intel 13h. In both cases, they will be 16 bit modes and

windows 7 - Tortoise usage pattern no longer works: sort by creation date, nor sort by revision is possible -

I've been using turtle for years. My victory is my win-win scenario for standard usage. Problem: If you have to complete a checkout, then date is modified to date which was the checkout date. is. So ... in that situation, I sort in the reverse amendment order order. Win explorer allowed me to amend a column of elaborate exposure. There is a close proxy for sorting it for the modified date. Problem: Win Vista, and Win 7 no longer allow me to display this column. Nor is the revised date maintained in an SVN checkout. So my standard use phrase is no longer possible. I want to see that people are suggesting how to find other than falling on the command line. I'm afraid that Turtle SVN will have to go away and a different file can be replaced by the browsing UI, which provides revision column sort behavior. If someone is good then maybe he'll be fine. OTOH, if a person knows SVN in a way that it actually maintains the file, then it modifies the file, which mo

html - How to set the div must in the bottom using CSS? -

This is the div for my product, you can see the demo in this way: & Lt; Div class = "productItem" & gt; & Lt; Div & gt; & Lt ;! - image - & gt; & Lt; / Div & gt; & Lt; Div & gt; & Lt ;! - Text - & gt; & Lt; / Div & gt; & Lt; / Div & gt; Each product has a product image and product text. The image is at the top, and the text is under each image but you can see that the size of the image may be different, so I do not always want text at the bottom instead of below the image. In addition to specifying the bottom position, how can I edit the text below? It may be worth noting on making your images a standard size. Maybe a bigger and smaller size? You can also simplify your HTML using something like this: & lt; Div class = "productItem" & gt; & Lt; Img class = "big" /> & Lt; P & gt; Text & lt; / P & gt; & Lt; / Div & gt; This will chan

uiview - iPhone addSubview overlays the whole view -

I have created a .xib file and added a UIView to it in the IB which I used to call detailView . I have to load .xib in the detailView field, and here is the code that I am using to do this in my Visual Controller: NSArray * NibObjects = [[NSBundle mainBundle] loadNibNamed: @ "DetailView" owner: self choice: zero]; UIView * nibView = [Nib Object ObjectTitaxx: 0]; Self.detailView = nibView; There is a screenshot of setup in IB here: detailView .xib loads, but for some reason the detailView refuses the frame for the area that was installed in it The IB and the full screen fills If I see it right, then DetailView outlet is already available from PropertyEditViewController You do not want to set self.DetailView manually on nibView because you actually expand your parent Can override with Yu. Just send -loaded enrolled: owner: option: and you should be right.

xcode - How to figure out what caused runtime error on IPhone App? -

In the xcode, say that you write an app for the iPhone and it has a runtime error in what I'm looking for I am that it closes the program in the simulator, but in reality I do not get any response or not, which line is the accident from me ... am I missing something ?? Note: I do not consider the console to be very effective because it only presses an error, but still I have to find out where that bug is from that code. In the console, above the stack trace, to the unknown selector by the name "classname namefalc" for example should be sent. " Make sure that you really wanted to send that selector to that class. If you post what it is, then we can help you more than that. To reach GDB, enable breakpoint, click on the line number gutter and add one to your code, build and press debug and finally open Debugger (CMD + Shift + Y).

content management system - Views in Drupal: ignore arguments -

In Drupal I am working with a scene which takes some arguments; The NID logic just passes to the next page, but the other three logic uses this to retrieve the content. The problem is that it uses all the arguments to retrieve the visual content, which clearly does not work Because the presence of nid will always return a line. How do I search? Content page) Need to leave NIAD on the second page using three arguments? If I understand correctly, then the first argument is an NID, and you want logic Will not the result of viewing (no filtering) affect? If so, set validator to verifier options < php code leave PHP valid code and the argument will always be considered invalid. Working to take action to display all the values, if the argument is not valid . Before this, the neglect of logic will have an effect.

iphone - stuck with sandbox account -

In order to check in app purchases I have created a test account I could buy and the purchase was successful, after that one in the navigation Found bugs I fixed a bug, created another account and in the last session I removed the logged account. Now I can not test anymore in app purchases, as the App Store automatically logs me with a ghost account which is not already present. I have been asked to enter a password despite this, that before every debug session I will sign out of the settings in the store and remove the previous version of the application. How do I reset it? Thanks, New I know that This is an old topic, but I had trouble finding a solution and through some trials and error I found a solution till I thought I would share it here because I could not find it anywhere else. First of all, make sure that after every transaction you call: [[SKPMentQue Default Qi] Philish operation: transaction]; What happened in my case is that the transaction did not end

System.UnauthorizedAccess Exception C# -

I currently have a compiled C # program, but whenever I run it, I get Windows to face the problem Does matter. This is from a system. Unauthorized asset error, how can I access this error without any need from the user side and remove this error, because this program is being deployed to many people and I do not want it to be manually Fix with Thanks You can get the current user's application using the data folder Are there. Environmental variable APDATA Therefore, you can do something like this: string apadata = environment Gatefolderpath (environment specialfolder.app.dta) string configfile = path.combin (appadata, config file); Streamer writer writer = new streamer (configfile); Author. WrightLine ("My Configured Data"); Writer.Close (); You can also use this approach for the temporary folder. You can also generate a random file name using BCL functions. I think this is the path. GetTempFilename () .

svn - version control & code hosting - im lost -

I am working on a small project that has some extra codeer at some point - I svn Recently I started using Sources using this project) and want to use it without publishing code on the Internet for this project - which would be if I would like to add source project to it. I have some accessory (dreamhost), which is with shell access, and ideally i need a web-forward version control s / w that i can install on my dreamhost account , And wherever I am, can remove Tinker on my project. / P> There are many possibilities (reviewboard.org, trac, etc.) that they look like probably work - but there is a simple barebones system somewhere that I just Can I install without too much hacking? Thank you! Dreamhost is the basic support for creating svn / Trac examples within your panel. This is under Goodies -> Subversion lets you choose the subdomain you want to install, set users and password and is hidden by default or publicly visible. There is a checkbox to install Trac, a

asp.net - switching to open source solutions -

I am an ASP.NET MVC Visual Studio, SQL Server Web Developer. I would like to switch to equivalent open source solutions Please help me You probably want to check, and to get you started on all of your existing Windows machines , And later they can take them to Linux machines if you are satisfied with how well they work for you.

iphone - Setting A CGContext Transparent Background -

I'm still struggling with a line drawing with CGContext I actually go to the line to draw , But now I need a back background to be transparent, so the current background shows. Here is my test code: (zero) direct: (CGRact) rect {CGContextRef context = UIGraphicsGetCurrentContext (); CGContextSetFillColorWithColor (Reference, [UIColor clearColor] .CGColor); CGContextSetAlpha (Reference, 0.0); CGContextFillRect (reference, rect); CGContextSetStrokeColorWithColor (Reference, [UIColor whiteColor] .CGColor); CGContextSetLineWidth (reference, 5.0); CGContextMoveToPoint (Reference, 100.0.0.0); CGContextAddLineToPoint (Reference, 100.0, 100.0); CGContextStrokePath (reference); } Any ideas? after UIGraphicsGetCurrentContext ( call CGContextClearRect (reference, rect) Edit: OK, got it. Your custom view with the line should include the following: - ( Id) initWithFrame: (CGRect) frame {if (self = [super initWithFrame: frame]) {[self setBackgroundColor: [UIColor clearColo

sorting - Counting sort in java for tuples -

I am creating a square in which the magnification of the strings is in the whole, so if I have 3 apples, then I From apple mapping will happen. I have to write a class that changes the name of objects with decreasing numbers. So if I (apple, 3) (orange, 2) (banana, 5) I (banana, 5), (apples, 3 ), (Orange 2) / P> I was thinking that there is already a class that will make my life easier or how I will implement it. Thank you. Div class = "post-text" itemprop = "text"> You can put your objects (apple, 3) (orange, 2) (bananas, 5) in a list and then Call the collections.sort (your list). Then you want to make sure that the object you have declared has implemented the comparative interface. More information is available at . Let's say you have declared the public class applies the calculations and comparable & lt; Fruit & Count & gt; {The name of the private last string; Private final integer count; Public fruit and count (str

regex - PHP Regular expression to find images beginning with _ -

I have a function that loads all the image files found in the WordPress Upload directory. I would like to modify it a bit so that it leaves on any image that starts with an underscore character, "_someimage.jpg" is skipped, while "someimage.jpg is not ... < P> Here is the current function .... $ dir = 'wp-content / uploads' '$ url = get_bloginfo (' url ').' / Wp-content / uploads '' $ imgs = array (); if ($ dh = opendir ($ dir)) {while (($ file = readdir ($ dh)) == incorrect) {if (! Is_dir $ File) & amp; amp; amp; and & amp; amp; amp; preg_match ("/ {. JPEGIFIFGGGAARA", $ file}) {ARM_push ($ IGS, $ file);}} closed ($ dh);} and { $ Dir);} You modify your current regex Can you add a boolean or use expression (which I would recommend). Modifying your current rezux: "/ ^ [^ _]. * \. (Bmp | jpeg | gif | string to detect underscores A simple expression will be: strstr ($ file, '_') $ / i

python - How limiting are web frameworks -

This is a common question how web development frameworks such as DJango and Ruby-on-Rail are limited. I am planning to build a secure web service that does not have pure JSON / XML interface, no GUI. This service relies on a database but there is no clear way to put a "model" object directly into the database table for some important functions. Apart from this, I need complete control over how data is being written on the data and database. I will need to maintain many database connections so that some connections can be used only for reading and writing others. I have seen "full" MVC frameworks such as Django and more basic people on such web sites. Pi and Pylons I have this assumption now that if I go with the full framework then things start up Will grow faster, but eventually I will get trapped because I will be limited by the framework of what I can do. If I go with another infrastructure then everything will take longer to run but whatever I want, I wi

What are the advantages of having customized commands with the <Leader> key on Vim? -

I think it's self explanatory. How efficient is it to use this key? A clear advantage whenever you decide to change combinations mapleader It can be easily done by changing the key. This can happen when your favorite plug-in opposes your favorite shortcut by changing mapler and you are keeping the shortcut but changing it at the same time. Earlier (Mappler is , ) myFavoriteAction = , cc myFavoriteAction = \ cc after (Mappler is \ )

Anyone knows good Django URL namespaces tutorial? -

I'm looking for a good tutorial for URL namespace in Django. I find official documentation a little more sparse - it does not have good examples here I found it on the stack, but the answer does not help me understand this topic completely. Agree, docs are rather confusing for this here's my reading (NB: all the code Is unchecked! ): apps.help.urls : urlpatterns = [url (r '^ $') in , 'Apps.help.views.index', name = 'index'),] .pi in your main urls : 'Urlpatterns = [url (' 'apps.help.urls'', namespace = 'help', ap_name = 'help')), url (r '^ ineedhelp /', Include ('apps.help.urls', namespace = 'otherholl', ap_name = 'help')),] template: {% Url help: index%} url / Help / should be created. {% url otherhelp: index%} url / ineedhelp / should be created. URL as {% Current_app as 'other'%} {% url help: index%} {% endwith%} / ineedhelp / sh

php - Invalid Form Submissions-- what to do with them? -

When it comes to web app design, I have recently been reading a lot about best practices. My language of expertise is PHP / MySQL when I am developing MVC architecture for the development of an application, I always find out where invalid form submissions are stored (so that the user does not need to re-enter the data and Useful error messages can be displayed). Normally I have settled it with the collection of serial object in the variation of the session, but my latest reading has told me that the sessions are bad and take away from Stateless Web Development. The options I have thought are: I do this as a storage in the database, with valid input, but mark it as invalid / Li> And 3. Both sessions seem like the same idea as preference What would you recommend? Do not store it at all, just present the user with an error message and a second copy of the form Please. You must use the data to enter the form in the past ($ _POST / $ _ GET when you

xcode - Including a debug build in a library's Mac OS X SDK -

I'm sure you know that it is common for your debug and release libraries to include in SDK. My question is, is this a standard way to go for the Mac OS X framework in terms of distributions and possibly xcode integration? One option is to divide another completely different structure, e.g. MyLibrary.framework and MyLibraryDebug.framework . If this is to go in the right way, then what is the trick to tell Xcode to make the right use? When adding a framework to the Xcode project it was not the only option to add it to a build configuration, and it seems right that -mymeibreck [debug] The Mac OS X Dynamic Linker ( dyld ) has a feature for this purpose: DYLD_IMAGE_SUFFIX . This will allow you to dynamically load the debug version of any framework or shared library that you have linked. You do not need to completely separate the .framework bundle; Just create another shared library called MyLibrary_debug . For example, the core foundation in Tiger includes debuggin

javascript - Jquery disable theming for a specific element -

Is there a way to disable themes on an element in the page? I have some junky UI elements but I should not be one of these elements to be themed. How to do this JQuery UI is made up of some standard CSS structure sections. You can close the sections and remove UI topics from one element. Look at a list of classes to see and identify which one you want to remove (using Firebug, it can be very easy, which UI classes you can apply). . The option is ui-widget and ui-state-default . Once you know the class, just go to JQuery's removeClass () to get it: $ ('element '). RemoveClass ('UI-Widget');

regex - More string matching features -

Is it possible to create a regex that matches all the stars with five and five b? Like Ahababab or Abibabab or Abababab I think it will require polynomial time for a deterministic engine. Are there other matching languages ​​that enable such mailing? Update : I wanted to use expression for search, so I did not have the (? = B * ab *) {5} (? = A * ba *) {5} ([ab] {10}) And it works well! :) I am still uncertain with respect to the performance of this kind of expression but I feel that I can only see letterhoud expressions. I am still curious about other types of patterns, which are easy to explain but again it is difficult for regx, are there present? You can use: ^ (? = ( ?: [^ A] * a) {5} [^ a] * $) (? = (?: [^ B] * b) {5} [^ b] * $)

gsp - How does one make a Grails application designer friendly without the need to re-deploy after a change to the view? -

It has been for a long time since I actually worked with J2EE, please excuse my ignorance . My recent engagement in a Grails project has increased once more and especially my interest in Java in Grails because it is being said that Java platform redesigns web applications on fun, I need a specialist to have the following I would like to comment on that I have an app using Grails: Design team (web designer) needs access to GSP pages And visual files have to be edited (software developers) without disturbing (layout, template, etc.) this scenario can occur during the construction and during the production deployment. The communication level between designers, developers and business users is not an issue here. However, about 40% of the time, Business Unions included request changes in the front-end, which had no effect on the timers of developers, but the timing of a member of the Design Team is required. Currently, the deployment workflow follows Grails App through the deploymen

WPF: Setting named color to resource? -

I am modifying the control template of the WPF calendar control to change the text color and previous And arrow on the Next control I want to set a local SolidColorBrush resource in Color called MyTextBrush Previous and next buttons are separate control templates, And pulls the path object for each of its buttons' arrows. Here is the relevant markup for the previous button: & lt; Path margin = "14, -6,0,0" height = "10" width = "6" vertical alignment = "center" horizontal alignment = "left" stretch = "fill" data = "m288.75,232.25 l 288.75,240.625 L 283,236.625 Jade "& gt; & Lt; Path.Fill & gt; & Lt; Solid Coiler Brush x: Name = "Textcloud" Color = "# FF 333333" /> & Lt; /Path.Fill> & Lt; / Path & gt; Note that the name of the color TextColor , x: Name is using the property. Here's my problem: x: name requires the property - i

python - Mysql + SQLAlchemy + Pylons Issue -

I am trying to set up my model in Pilanes using a MySQL backend and I receive the following: / P> Tracebacks (last most recent call): File "/ usr / local / bin / paster", line 8, & lt; Module & gt; Load_entry_point ('Paste Script == 1.7.3', 'console_script', 'pastor') () file "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg / Paste / script / command.py ", line 84, run invoice (command, command_name, options, arguments [1:]) file" /usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3 -py2.6.egg / paste / script / command.py, in line 123, exit_code = runner.run (args) file "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7 3-py2.6.egg / paste / script / command.py ", line 218, in run result = self.command () file" /usr/local/lib/python2.6/dist-packages/PasteScript-1.7 3-py2.6.egg / paste / script / service.py ", line 276, in command Relative_to = base, global_conf = vars) fil

actionscript 3 - As3 Errors 1046 type not found if I specify a document class -

In my AS3 code using Flash CS3, everything works fine without any document class I use and they work, but once I attach a document class, I receive this error: 1046: The type was not found or was not compiled at a compile-time: KeyboardEvent. Can anyone explain why this happens? This is what my document class looks like: package {import flash.display.Sprite; Import flash.events.Event; Import Flash. Import flash.events.TimerEvent; Import Flash.Display.MovieClip; Import flash.geom.Point; Import flash.geom.Matrix Import Flash.U.board; Import Flash. Events CabardAvents; Import Flash. Events Import Flash.events.KeyboardEvent; Import flash.events.MouseEvent; Public class extends myCoolClass MovieClip {}} But again, I get more errors, I get: 1180: Call the SoundTransform, possibly undefined method . . Do I have to add more import to get it properly? Thanks Yes - you have to import all the classes When you write the code on the timeline in the flash, but when you use

php - Is it possible to achieve paper-turn effect in HTML without using flash? -

I know about many Flash-based business implementations like Flash PageFlip but I'm thinking that without the use of Flash Is it possible to achieve this? Any help would be greatly appreciated. Thank you. Agung Indravan Scott Schiller does some amazing things with javascript Animation about the whole page I know that you You can modify the events by cutting your source code, then you will be able to get effects with your event engine. However, it takes a lot of work and I am not sure how much profit you will get from the intensity of the animation script. I know that this can be done.

Client Access License (CAL) in SQL Server 2005 standard Edition -

I am using SQL Server 2005 Standard Edition SP3 to install my application DB. My SQL installation return license type is "Disabled" and the number of licenses (CAL) is "NULL". I have performed a demonstration test on my webmodel which indicates this DB using the Load Runner tool. Connections to web modules are limited to approximately 25. Please clarify that if the connection restriction is due to CALs counting thanks in advance. Shiva Cal count does not affect any functionality, Nor does it even apply the number of concurrent connections allowed for SQL Server. This is just a data point for those auditors, whether or not you are compatible with your license. It appears that you have installed the SQL Server from the MSDN installation, which is why the license type = "disabled" and the Cal calculation is empty.

json - what's basic difference between JsonStore and JsonReader in context to Ext.data? -

What is the basic difference between JsonStore and JsonReader in terms of Ext.data? I mean when I should go to JsonStore and when I should use JsonReader, both are providing the same solution. In fact, they are two different things A. A given JSON object reads and returns data records ( Which is later stored by the related data store. There is a base class for all extension stores and uses auxiliary object to obtain data. To read writing data () and data () < Li> This creates all of the enormous components that allow the developer to configure how to zoom it. To make reading easier with simple javascript arrays, , a store already preserved with only one store , has a pre-secure store, only one store is configured with , so in reality it's actually just a feature class for developers to make it easy. for. The following two snippets will create the same (or comparable) store: var store = new Ext.data.JsonStore ('Ur

how to return a value from javascript to jsp page without using java beans? -

I have to return a boolean value frm java script to jsp page .... Someone help me ?? You will need to provide a little more information why you do not value JSP pages as URL parameters Do you post?

PHP's PDO Source Code -

I have been installed from Reops on my Ubuntu 9.10 local machine. Where can the source code be found in PDO classes? According to PHP 5.1, the part of the PDO is the PHP core so it should be somewhere inside. / ext / pdo Before 5.1, this is a PECL package which is still available. If you only want to browse the source for curiosity, then it may happen that if you need current, then look at the core.

iphone - Custom UIButton with UIImageView doesn't work fine on device -

My problem is that I have a custom button and imageview on which I added the image. I created this image in a custom button, a subview. When Im running it in the simulator, it works fine, but when I run it on the device, it was not displaying the image in the button. I have written the code as: In CellForRowtIndexPath - (UITableViewCell *) TableView: (UITableView *) TV CellphoneAutindAppath: ( NSIndexPath *) Index Path {UITableViewCell * cell = [Tableview dequeueReusableCellWithIdentifier: @ "MasterViewIdentifier"]; If (cell == blue) {cell = [[[UTTable watch alloc] initWithFrame: CGRectZero reuseIdentifier: @ "MasterViewIdentifier"] autorelease]; Cell.selectionStyle = UITableViewCellSelectionStyleNone; UIView * elementView = [[UIView alloc] initWithFrame: CGRectMake (20,170,320,280)]; ElementView.tag = 0; ElementView.backgroundColor = [UIColor clear collar]; [Cell.contentView addSubview: elementView]; [ElementView release]; } UIView * elementView = [cell.

Problem in HtmlUnit API for Java (Headless Browser)? -

I can see the site to better understand the HtmlUnit headless'm using a browser (you have problems to browse it Are). I have set the value of the selection for the following values ​​from "1" the last webclient webClient = New WebClient (BrowserVersion.INTERNET_EXPLORER_7); Try {// Webclient webClient.setJavaScriptEnabled (true) configuring; WebClient.setThrowExceptionOnScriptError (wrong); WebClient.setCssEnabled (true); WebClient.setUseInsecureSSL (true); WebClient.setRedirectEnabled (true); WebClient.setActiveXNative (true); WebClient.setAppletEnabled (true); WebClient.setPrintContentOnFailingStatusCode (true); WebClient.setAjaxController (new opt-in syncExpress controller ()); // listeners to add Vebkeliattkvebvindo Listnr (new Comkgrajelskeftveyrkcomkvibvandolistnr () {public Wide Vebvandoovend (Vebvandoivent event) {number Oops Waibondoanupatit ++ System. Autkprintlain ( "opened number of Vebvando:" + Snkyaofwabvandoanudharit);} public vain Ve

.net - How to take the result of a method called Asynchronously? -

When I do a long operation to block the UI of my applications that I do: public sub ButtonHandler () as action auxDelegate = new action (AddressOf DoAction) auxDelegate.BeginInvoke button is not dimmed auxDelegate handles (AddressOf EndAction, a) End sub Private sub DoAction () '' # long Term operation here sub-private sub-end EndAction () '' # result update sub end here In the case of DoAction take the result that it That is a function rather than sub EndAction to define a class attribute that is a way to use the results of that on the other and there put value example , if DoAction like this :? Private Function DoAction () Return as a Boolean True End Sub Is there a way to get the results of DoAction on the and operation? Thank you in advance! There is an indicator for the function that does not take any arguments on it and returns no value. If you want your work to return some values, then you have to use a different representative. For exampl

windows - pyinstaller error -

डी: \ TDDOWNLOAD \ WWW1 \ pyinstaller & gt; अजगर Makespec.py सी: \ दस्तावेज़ और सेटिंग्स \ Admi nistrator \桌面 \ a ने लिखा D: \ TDDOWNLOAD \ WWW1 \ pyinstaller \ Documents \ Documents.spec अब निष्पादन योग्य डी बनाने के लिए Build.py चलाएं: \ TDDOWNLOAD \ WWW1 \ pyinstaller & gt; अजगर Build.py D: \ TDDOWNLOAD \ WWW1 \ pyinstaller \ Cuments \ Documents.spec ट्रेसबैक (सबसे हाल ही में कॉल अंतिम): फ़ाइल "Build.py", पंक्ति 1158, & lt; मॉड्यूल & gt; मुख्य (आर्ग्स [0], configfilename = opts.configfile) फ़ाइल "Build.py", रेखा 1146, मुख्य बिल्ड (स्पेकफ़ाइल) फ़ाइल "Build.py", रेखा 1109, बिल्ड ऑप्शनफ़ाइल (स्पेक) फ़ाइल "डी: \" TDDOWNLOAD \ WWW1 \ pyinstaller \ Documents \ Documents.spec ", पंक्ति 3, में & lt; mo dule & gt; पैटहेक्स = ['डी: \\ टीडीडाउनलोड \\ WWW1 \\ pyinstaller']) फ़ाइल "बिल्ड.py", पंक्ति 232, __इनिट_ में मान बढ़ाएं, "स्क्रिप्ट '% s' नहीं मिला"% स्क्रिप्ट मान त्रुटि: स्क्रिप्ट

.net - Post sharp IL level interaction -

So I'm looking at PostSharp and I've found that this runtime is not using the generated proxy, Indicating in the compilation process to include aspects within IL So my initial idea was wow, how it is done. Any sign where should I look? You can take a look at this or Google "IL rewriting", this is a common technique.

objective c - Trying to fade in a UIView without success -

I am trying to fade in a UIView as a subview of my main view. UIView I am trying to fade in are the dimensions of 320x55. I set the view and timer; secondView.frame = CGRectMake (0, 361, 320, 55); SecondView.alpha = 0.0; [Self.view addSubview: secondView]; [NSTM Scheduled timer with interval: 5 targets: Self selector: @Sylector (FeedView) User Inc.: Does not repeat: No]; The timer triggers the following code; secondView.alpha = 1.0; CABasicAnimation * fadeInAnimation; FadeInAnimation = [with CABasic Animation Animation: @ "Opacity"]; FadeInAnimation.duration = 1.5; FadeInAnimation.fromValue = [NSNumber Number explosion: 0.0]; FadeInAnimation.toValue = [NSNumber Number Flowweight: 1.0]; [FeedInimation Settail: Self]; [second Sight. Add PlayerAnimation: FadeIn for Animation: @ "Anime Opacity"]; My second view is connected to the interface builder and responds to other messages, but I do not see anything on the screen. Is anyone helping me? Thank

Zend Form decorators trouble -

How do I get the following with the form decorator for form elements: & lt ; Dt & gt; & Lt; Ul & gt; & Lt; Li & gt; Errors & lt; / Li & gt; & Lt; Li & gt; Errors & lt; / Li & gt; & Lt; / Ul & gt; & Lt; Label & gt; Label & lt; / Labels & gt; & Lt; / Dt & gt; & Lt; Dd & gt; & Lt; Input type = "text" value = "input field" & gt; & Lt; / Dd> In other words, instead of the errors added after the input field, I want them to be ready with the label I do however < Code> & lt; Dt & gt; and & lt; Dd & gt; to keep the tag as described above. OK, I came to know how to do this. Slowly decorators begin to understand me: > append ')); It does the following: Submitting the first label then the interval (default) Next, add an opening HtmlTag (DD) (default = wrap) Next, // make sure that you set $$ - $

c# - StructureMap: How to set lifecycle on types connected with ConnectImplementationsToTypesClosing -

मेरी रजिस्ट्री में मुझे स्कैन करें (स्कैनर = & gt; {scanner.AssemblyContainingType & lt; ईमेल वैलिडेटेशन & gt; (); स्कैनर.कनेक्ट इम्प्लिमेंटेशनओटिपेस क्लॉजिंग (टाइपफ (आईलाइडेशन & lt; & gt;))}); मैं इन सभी को सिंगेट्टन के रूप में परिभाषित करने के लिए क्या कर रहा हूं? इसके अलावा इस प्रश्न को एक तरफ के रूप में, जो कुछ भी स्टेटलेस है उसे परिभाषित करने का कोई कारण नहीं है एक एकल ऑब्जेक्ट के रूप में जो StructureMap में पंजीकृत है? केविन का उत्तर संस्करण 2.5.4 और पुराने के लिए सही है। वर्तमान स्ट्रक्चरमैंट ट्रंक में (और जब 2.5.5+ रिलीज हो जाता है), तो आप अब ऐसा कर सकते हैं: स्कैन (स्कैनर = & gt; {स्कैनर। विधानसभाएंटिनिंग टाइप & lt; ईमेल वैलिडेटेशन & gt; (); स्कैनर.कनेक्ट इम्प्लिमेंटेशनटोटीप्सक्लोजिंग (टाइपफ (आईविडेशन & lt; & gt;)) .अधिकृत प्लगइन प्रकार (टी = & gt; टी। एसिंगटन ());});

query performance - How to cast MySQL result to a string? -

एक क्वेरी है: blatable WHERE blafield = 714 से चुनें blalist जो ऐसा स्ट्रिंग देता है जो दिखता है: "2,12,29,714,543,171 9" और एक अन्य क्वेरी है: का चयन करें userid, नाम, उपनाम, क्रेडिट कार्डनाम, चुराके से आइटम जहां यूज़र आईडी में (blatable WHERE blafield = 714 से चुनें blalist) < P> अब वह काम नहीं कर रहा है मैं केवल इन प्रश्नों को अलग से निष्पादित करके काम करने में कामयाब रहा हूं। मुझे इसे एक सिंगल क्वेरी में रखने के लिए क्या करना चाहिए? आपको एक से अधिक मूल्य को कभी भी संग्रहीत नहीं करना चाहिए एक कोशिका blatable में प्रत्येक मान अपनी ही पंक्ति में होना चाहिए, फिर आपका IN खंड एक जादू की तरह काम करेगा डेटाबेस सामान्यीकरण पर एक नज़र डालें और विशेष रूप से आपकी तालिकाओं को कैसे डिज़ाइन किया जाना चाहिए। जैसा कि आपके पास एक सेल में सभी मान हैं, सभी कोडों में IN तुलना के परिणाम स्ट्रिंग "2,12,29,714,543,171 9" की तुलना में, जो स्पष्ट रूप से मेल नहीं खाएगा। आपकी क्वेरी प्रभावी ढंग से इस तरह दिखती है: ... चुराके से जहां यूजर आईडी IN ("

ide - Best environment to do jscript development on Windows? -

I'll need to create some webpages which are making heavy use of JScript and separate JSRT libraries and write me a bit of code And debug to see if it works. I would like to know whether there is an IDE present on Windows JSUT or is there a combination of such devices that can be used for this purpose? I recommend, which you can easily configure to be JScript Debugger: