Posts

Showing posts from July, 2011

html - How to erase button separator in btn-group? -

This line needs to be removed, which is mentioned on the image. It's a button separator, and I do not need them anymore, how to delete it? The image is here: The class structure is: & lt; Nav class = "navbar navbar-default" & gt; & Lt; Div class = "container-liquid" & gt; & Lt; Div class = "navbar-header btn-group" & gt; & Lt; Button type = "button" class = "btn infection" id = "about" & gt; About me & lt; / Button & gt; & Lt; Button type = "button" class = "btn infection" id = "task" & gt; My work & lt; / Button & gt; & Lt; Button type = "button" class = "btn infection" id = "contact" & gt; Contact & lt; / Button & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Neo & gt; You have to look at your CSS rules, because there are no basic bootstrap lines ...

networking - Haskell is getting deadlocked in a situation it (in theory) shouldn't be -

After a after a stalemate error message yields ( * exception: thread in an MVAr operation indefinitely Blocked for). I have taken step by step, and I have not been seen on this issue. On the main thread, an MVR has been created, and given to the creator, running on a new thread To get some thread MVar Waiting for wait, main thread is also running in loop and blocks Once the manufacturer has a connection, it is continuing in the loop, and after receiving something from the socket, the MVAr Says meaning (as far as I understand it), it should end the manufacturer's Student put some MVR, and are waiting to mainly get some. If it gets trapped because listenOn does not connect immediately, how can I get it? MVAr needs to be made in the main, and before the manufacturer is prickly, then it can be passed in. Import code. . - & gt; IO string getSockInfo s = information and lieutenant; - GetPeerName Return $ Case Info (SockAddrInet Port Ender) - & gt; "Eder /...

angularjs - express angular ejs passing variable to template -

After login authentication, I am trying to pass message variables for my EJS template: App post ('/ login', passport. Authentication ('local-login', {successRedirect: '/ profile', failureRedirect: '/ login', failureFlash: true})); Then get the block code: if (req.isAuthenticated ()) res.render ('partial /' + name, {message: 'testing' }); Therefore, the user will be notified if the login fails. Login.ejs will show a partial message, but the message will not appear in the template: "; & Lt; / Script & gt; & Lt; Div class = "col-sm-6 col-sm-offset-3" & gt; & Lt; H1 class = "form-fonts" & gt; & Lt; Span class = "fa fa-sign-in" & gt; & Lt; / Span & gt; Login & lt; / H1> & Lt ;! - Any messages that come back with certification - & gt; & Lt; Div ng-if = "message.length & gt; 0" class = "alert alert-danger" ...

ios - Set attribute to managed object -

I'm fairly new to iOS development and I am trying to set up as a feature of Mangedobakt some Aimasedata I was created. I have read and re-read Apple's documentation and I'm looking for who can not seem to find it. I know it must be something simple that I'm missing, but I can not put on your finger. If someone can tell me in the right direction, then I appreciate it! > Here is my current code: -ibakshn save sign: (id) sender {Ansdita * Cvideta = Uaimejpianjiar presentations (mySignature.image); NSManagedObject * pilotSignature = [[NSEntityDescription insertNewObjectForEntityForName: @ managed object Contaks in "Piltsgnecr" Swmanjit object Contaks]]

c++ - What's the difference between namespaces & classes? -

In C ++ 13/4 environment, what is the difference between a namespace and a square? The way I see it; named place foo {int a: 4; Int b: 4; } and class bar {public: int a = 0; Int b = 0; } The same thing ... Yes, they are used differently; Namespace .... foo :: a = 20; Foo :: b = 30; class .... bar alpha; Alpha. A ... Alpha B ... But in general, what is the advantage of one over the other? There are a lot of differences, there is a group system for namespace names, more or nothing less can be done quickly. can be obtained from. Virtual tasks can be. And so on. If you think yourself whether you should use namespace or a class, then you are probably exploring a way to control the scope of names - so the election is clear: Nameshot's Use the.

sorting - Merging 2 unsorted linked lists to one sorted linked list -

मैं एक सॉर्टेड लिंक्ड लिस्ट में 2 बिना व्यवस्थित लिंक्ड सूचियों को कुशलतापूर्वक विलय करने के लिए एक समस्या को हल करने की कोशिश कर रहा हूं। मेरे पास कुछ विचार हैं। बस 2 लिंक्ड सूचियों को मर्ज करें और सॉर्ट (मर्जर्सोर्ट या क्वॉर्टसॉर्ट) से दोनों को अलग-अलग रूप से सॉर्ट करें और दोनों को इस अवधारणा का पालन करें। ये सभी एल्गोरिदम हैं जो मैं सोच सकते हैं। क्या किसी और के पास इस समस्या को हल करने के लिए कोई बेहतर और अधिक कुशल तरीके हैं? आपको बस दो एक सूची में सूचियों और उस सूची को सॉर्ट करें यह पहली बार उन्हें सॉर्ट करने से ज्यादा सीधी अग्रेषित है और कम कोड है और दूसरे विकल्प के समान समय लेगा।

java - JTextArea.append() taking a few seconds -

I know this is a dumb question, but I'm not sure what I can do. My program is just sending a message through some servers. My program also has "console", which is just a JTextArea, the user knows what's going on. For some strange reason, append () takes a few seconds while calling. In fact, it is not actually attached unless the message is sent through the server. This is the place where I am lost, I attach to it, I also use System.out.println () to login, and logs are printed instantly in the console, while JTextArea is not attached Happen. I came with the sole reason that perhaps the thread is different from one action thread. I send this message on one click of the pocket button: submit.addActionListener (@ Override Public Zero ActionPerfect (ActionAge RJX) {console.append ("Posting to GCM "N"); System.out.println (String) textField.getSelectedItem ()); String APKY = "..."; Content content; {content = createContent ("test")...

Sub-graph Id a good candidate for a label in neo4j -

I'm using neo4j for thousands of relatively small 20-2000 node sub-graphs that will be disconnected from each Each of the graphs is considered as your workspace which should be visible to only a few users. Would it be advisable to use this unique workspace ID as a label to label it with each of these sub-graphs? What effect can the indexing have on, because this label will be unique to each sub-graph? Multi-tenancy is not yet well supported in Neo4j It helps you if you Some queries can describe the use-cases. If you have disconnected sub-geeks in any way, then your "root" node will probably be sufficient for index or entry point in your subfold, labeled "workspace" and workspace ID with? Then you can exit that node. Neo4j supports up to 32k labels, but I think that if you use it they become very slow as it is to use an indirection, so if the label The ID gets bigger (how many other labels do you store on the nodes). Probably worth a demonstrat...

ubuntu - Remote Connection Disconnect: Retrying -

I am trying to install a fresh install virtual box, charge, home and ultimately Larwell. Just started on the new laptop I have installed before the house is desired and there is no problem in it. Every time I try 'vengeance', I get this error after SSH information. After about 4 minutes of that duplicated error, this machine will boot. SSH information is correct. I did not find any work after searching the internet. Let me know if you need any other information. thank you in advanced. I was not able to boot the elite right from the directory. All thanks now fixed

hex - I need to understand some hexadecimal notation -

I have to do some bitwork operation to check conflicts for my game, but, I stumble into some hexadecimal notation By using the binary trick, we can do a simple and y coordinate Y = Y & amp; $ Fffff0 , and this will get us rid of less bits so that the value of 16 will be a valuable one, and keeping it out of collision, and back at 64; Since % 1001000 (68) & amp; $ FEFFF 0 =% 1000000 (64) Another formula: $ code = $ fffffff0 = 4294967280 = ~ $ F = ~ $ 15 $ ffffffe0 = 4294967264 = ~ $ 1F = ~ 31 What kind of hexadecimal marking is this? What does '$' mean? ~ is the operator for the operation of the operation not . What it does is to turn all the bits into 0 become 1 and 1 is formed. $ before the value, tells the compiler a hexadecimal number without it, fffffff0 will be treated as a variable name. So you can see that 15 mean 15 decimal and f hexadecimal, $ 15 Is 15 hexadecimal and 21 decimal.

ios - Calling a seque causes crash -

Image
Many people have similar problems and I have read their solutions but I still can not get to work for my work. I add 2 ideas I can not show the connection because I do not have the reputation of posting pictures I call the SAC identifier game. Then I call sak here: if (self.lives == 0) {[self display Soft with Identifier: @ "GameUp" Sender: Self] ; } The application crashes at this point What did I do? "libc ++ abi.dylib: type ending with exception exception without NSException" You need to embed your View Controller in a UINavigationController , because Push Seagase can not be used without the navigation controller. See the screenshots below for instructions:

html - Image Path is not picking when uploaded the files on ftp server -

I am using the following code to display an image on a web page. & lt; Div float = "right" width = "30%" & gt; & Lt; Center & gt; & Lt; Img src = "jatinkhurana_image.jpg" /> & Lt; / Center & gt; & Lt; / Div & gt; The above code is from the .html file. My image is also in the same directory, which contains the html file. This is working fine when I'm running the same thing when all the html file and image file is in my local directory. Now I have uploaded all the files to the FTP server. All is well working, but it is not showing the image on the webpage. I have tried ... I have logged on to that server and checked whether the file is or not .... The file was there I checked for the file name, whichever is correct is. I do not know why this image is not showing. If someone knows, please help me! Check your browser console to inspect the image element when you receive a copy of that image , ...

c++ - ObReferenceObject Vs File Deletion -

In my device driver, I refer to an object (using ObReferenceObject) and then I would like to make that file normally Try to delete and the file is deleted. I was really waiting for a STATUS_CANNOT_DELETE value but this is not the case. Is a file removed even if its reference is not equal to 0?

javascript - Split a image tag on html string -

कोड: & lt; div id = "start" & gt; & Lt; p & gt; "हाय विभाजित html स्ट्रिंग" & lt; p & gt; & lt; br & gt; "अब" & lt; img class = "image1" src = "कुछ src" master_src = "कुछ src" master_w = "400" master_h = "320 "& gt; "दूसरा टैग आ रहा है" & lt; br & gt; & lt; img class = "image2" src = "कुछ src" master_src = "कुछ स्रोत" master_w = "400" master_h = "320" & gt; & lt; h1 & gt; यहाँ अंत & lt; / h1 & gt; & Lt; / div & gt; आउटपुट: & lt; p & gt; "हाय विभाजित HTML स्ट्रिंग" & lt; p & gt; & lt; br & gt; "अब", "दूसरा टैग आ रहा है "& lt; br & gt; , & Lt; h1 & gt; अंत यहां & lt; / h1 & gt; मैं इस ouput कैसे प्राप्त कर सकता हूँ? विभाजित समारोह (या किसी भी बेहतर तरीके से) का उपयोग करने के लिए ...

html5 - Getting accessibility right for HTML tables -

I have a data table used in a page that needs to meet the AA access standards, but I am being told by my client that table basic accessibility standards are not available. My client is using an online service that throws all kinds of errors, so I took an equivalent examination using the second service from Total Velliator, which suggested that everything was ok. Clearly, besides this I have read many guidelines, but I still do not think that I have enough clarity to return to the client and make them convinced or I need to decide. As far as I understand & lt; Summary & gt; has been disliked in HTML5, although W3C standards may not be necessary. The only thing I can think of is to add an area & lt; Th & gt; or possibly & lt; Td> on elements, but as long as I can tell by the documentation on this (), in this context only one & lt; Th & gt; should work. I've included some example markup below and given any indications: & lt; Ta...

sql - Flexible Update Stored Procedure Mysql -

I'm looking for a flexible update archive process. I have created this one when I call it Splat Page (1, 'A', 'B', 'Sea'), then it works fine. Do I always have to pass 5 parameters in this example? Can I also do this call spUpdatePage (1, 'a', 'c') knows the process Is that just want to update the column names and details? Create = 'local host' process' spUpdatePage '(IN' pKey 'INT (4), `name` in VARCHAR (255), IN` title' VARCHAR (255) ) Description in the description 'VARCHAR' (255), IN` keyword 'VARCHAR (255)) updated page SET name = COALESCE (name, name), title = COALESCE (title, title), description = COALESCE (description, description) Keyword = COALESCE (keyword, keyword) WHERE id = pKey Always have 5 params passed in this example? Can I do this also? call spUpdatePage (1, 'a', 'c') For your posted archive process, all of you 5 parameters must be pas...

settings - How to disable marking occurences in Android Studio? -

Image
The example (events) of a variable always casts me during the coding. An option in Eclipse was called (or something like this) to disable / enable the Toggle Mark Events ... . Where can I find a similar option in Android Studio? I found: Editor -> Highlight on Carat Movement -> Highlight the use of elements on the carats . Disabling it was a job!

php - SlimFramework - Access Route Variables Via Custom Function -

मेरे पास निम्न मार्ग हैं जो मैं सेट कर रहा हूं। $ app- & gt; ('Device' / '/' / '/' device / admin / (/) ',' get_user ', $ validate_user (ऐरे (' व्यवस्थापक ',' प्रबंधक '),' टेम्पलेट '),' render_bronzeservice ') - & gt; = & Gt; '(टेबलेट | डेस्कटॉप | मोबाइल)')); मैं $ validate_user फ़ंक्शन के लिए render_bronzeservice , यह डिवाइस के लिए एक पैरामीटर की अपेक्षा करता है, लेकिन यह कस्टम कार्य के लिए काम नहीं करता है या मैं उसे समझ नहीं सकता। किसी भी मदद की सराहना की है! ठीक है मुझे अब के लिए एक वैकल्पिक हल मिल गया है, इसकी बदसूरत लेकिन यह काम करेगा। चूंकि मैं इसके पहले फ़ंक्शन में उपयोगकर्ता डेटा प्राप्त करता हूं, मैं पैरामीटर के लिए चेक करता हूं। कुछ कारणों से यह स्ट्रिंग के रूप में नहीं भेजता है? लेकिन इसे पहले फ़ंक्शन पर मार्ग वस्तु के रूप में भेजता है। तो मेरा get_user फ़ंक्शन इस तरह दिखता है। function get_user ($ route) {global $ user; वैश्विक $ उपकरण; // अगर कोई रूट डि...

shell - If xargs is map, what is filter? -

I find xargs as the map function of Unix open. What is the filter function? EDIT: It seems that I have to be a bit more clear. Let me assume that a program that accepts a string as a parameter and returns with the exit code of 0 or 1. This program will act as a verdict on those wires that accept it. For example, I can choose to interpret the string parameter as a file path, and defines "to present this file" in this situation, in this case, the program test -f , which is given the string, if the file exists, and 1 otherwise exits 1. For me, even for a section of a wire example, I can have a file containing ~ / path / / etc / apache2 /apache2.conf / foo / bar / baz / etc / hosts Now, I would like to create a new file, ~ / existing_text , in which only on my path In my case, it will be /etc/apache2/apache2.conf/ etc / hosts I have it ~ / path Define those lines, type test -f , and output to ~ / existing_paths . In accordance with xargs , it w...

How do I style a ComboBox in Windows Phone 8.1 when there are more than 5 ComboBoxItems? -

I got a combo box bound to the collection of complex types in my view Moodl the basis of any number The length of the user's preferences may be I combo box works as created a style based on the default and the expected count when the item is 5 or below. However, ComboBox uses full screen in Windows Phone 8.1 if there are more than 5 items in the source of items. When this is the case then none of my styles are being applied and it is using the default combo box style. How can I ensure that the style of the combo box is applied regardless of the number of items in the item? You need to customize flyout style using ListPickerFlyoutPresenter C: \ Program Files (x86) Get the default template from \ Windows Phone Kit \ 8.1 \ abi \ Xaml \ Design \ generic.xaml, and apply your preferences. For example, you as the background and foreground colors following: style target type = "Control List Piccrfluatprashusr" & gt; & Lt; Setter property = "fore...

Possible combinations of numbers with variables sizes in matlab -

इस सवाल का पहले से ही एक उत्तर है: 3 जवाब Iam matlab में एक शुरुआत मेरे पास संख्याओं की एक सरणी है 5 (4,2,1,4,3) कहें, जो चर 1 का मान 0 से 1 तक ले जा सकते हैं, चर 2 वैल्यू ले सकता है वैल्यू 1,2 वैरिएबल 3 0 और 1 ले सकता है, वैरिएबल 4 0 से ले सकता है 4 से, वैरिएबल 5 में 0 से 0 टी 0 ले सकते हैं। मैंने "कम्फेंन्टेंस" का प्रयोग करके मैटलब में किया, लेकिन यह एक विशिष्ट है और मेरे मामले की तरह नहीं है, जहां प्रत्येक चर की संख्या निर्धारित संख्याओं का निर्धारण हो रहा है। मुझे सभी संयोजनों की आवश्यकता है मैं = I1 के लिए लूप का उपयोग करने की कोशिश की: = i1: -1: 0 for b = i2: -1: 0 के लिए c = i3: -1: 0 d = i4: -1: 0 के लिए ई = i5: -1: 0 कॉम (जे, 1) = ए; कॉम (जे, 2) बी =; कॉम (जे, 3) = सी; कॉम (जे, 4) डी =; कॉम (जे, 5) = ई; j = j + 1; एंड एंड एंड एंड एंड मैं लूप के लिए इन सभी का उपयोग नहीं करना चाहता। अगर मेरे सरणी का आकार 100 संख्या तक बढ़ जाता है, तो यह लूप के लिए 100 लिखने के लिए बहुत बड़ा काम है। क्या किसी ने मुझे एक कोड के साथ सुझाव दिया है? मैं निम्न प्रक...

mysql - Is putting logic in SQLprocedures/functions (as opposed to PHP/Perl) acceptable? -

I am projecting a university related database in which I was asked to design a database (Specifications clearly ask me to throw at least some SQL processes and trigger it in it) and remain a small web interface on it. If it matters, then I'm a car rental modeling and I am using MySQL and PHP. It is important to keep in mind that the complete point of the project is definitely the database it is a database project , the period Now, I'm thinking: Should I argue as much as possible in SQL processes / tasks or not? Since this is very an database project and I'm already putting some arguments due to the requirements, my answer is "yes" because it decoupling (very Hypotetically, if a person decides to write, such as the desktop or the Android frontend, there will be very few possibilities of different behavior between client applications, so it looks like a good design for me). But whoever is catching me is that I have never seen anyone with that IR...

java - Can't create AVD due to Ok button -

Image
OK button is wastage I have filled up all the required fields but I do not know why exactly Button is always disabled Go to SDK Manager and install the system images of Corrsponding API first. Then select this CPU from the top in the third drop down menu ...

ruby on rails - Return JSON to GET request -

I need to get JSON on a specific URL in my application. I generates controller API I've added my controller the 'test' method: Answer DIF Exam. Format | Format | Message = {: last_sync = & gt; "Hello!" } Format.json {Render: Jason = & gt; Message} End I have added the route: # api section 'api / test' = & gt; 'API # test' When I try to get the URL: ... / API / Test me Error: ActionController :: UnknownFormat On this line: Answer_to Format | Why and how can I fix this? Use simple response_to Render without block: DIF test message = {: last_sync = & gt; "Hello!" } Render: json = & gt; Message ending response_to block is needed if you want to submit several different formats like html, json etc In action.

Output Multiple lines to file in Python 2.7.3 -

I am currently writing a program in Python with pyCLIPS clip module output me in terminal Allows to print several lines of: clip. Printfix () However, I want to output it in a file to save it is the result. I am using the following code: def print (): f1 = open ('/ var / log / combined / test.log', 'a') Print & gt; & Gt; F1, '- fact - \ n' print & gt; & Gt; F1, Clip Printfix () Print & gt; F1, '\ n- Rule - \ n' Print & gt; & Gt; F1, Clip Print Rule () The first and third print command to print your wire file successfully but the second and fourth print command still output the clip results in the terminal. Below is an example of output: ============ root @ Ubuntu: / home / user / desktop # Python program PF-0 0 (Preliminary-Facts) F-1 (Duck) F-2 (Quack) Total for 3 facts Main: Rule 1 Rule 2 Rule 3 Rule 4 Rule 5 Root @ Ubuntu: / home / user / desktop # Cat /var/log/combined/test.log - Fact - None - Rule - No ...

printing - How to count similar domains in emails and print every domain only once[python]? -

I have 10 hotmail emails, 4 Gmail, 3 mails. I want to analyze the list of emails and print out how many domains (Hotmail, Gmail, etc.) and impressions. But I do it in a very bruteforce way. I know that Python has an elegant short code (like Iteratollos, Islice, Xrange) Hotmail: 10 Gmail: 4 mail.com: 3 But I get this: Hotmail 10 Hotmail 10 ... Hotmail 10 Gmail 4 Gmail 4 Gmail 4 Gmail 4 AD DRT count_domains (email): For e-mail in email: current_email = Email.split ("@", 2) [1] # partition @, john@mail.com = & gt; Current_emain_counter = 0 for email 2 in Mail.com, # 2 index (current_email) in the list. If current_email == email2.split ("@", 2) [1]: current_domain_counter = current_domain_counter + 1 # print (current_email_ current_domain_counter) )) If you put all the stars in a list, myList says, "You can make it unique by using uniqueList = list (set of myList) After this, you can count the events used, e.g. countFirst = myList.count (u...

java - Compatible Spring dependency for Hibernate 4.3.5.Final -

I am using hibernate in my application and now the latest version of hibernation (now 4.3 need to upgrade 5.Final) and I have to integrate it with spring. Now my question is, which version of spring is compatible with Hibernate 4.3.5. The latest version of being final or hibernate is compatible with spring 4. X version FYI: During my search I found a link that tells how the frequency and frequency of Hibernation knows the comparability and accordingly I opened the spring- orm Maven POM And found that with spring-orm: 4.0.5.RELEASE I can use the Hibernate-Core: 4.2. 12. Original and Hibernate-Core: 3.6.10.Final of these only Hibernate-Core: 3.6.10.Final is working. So how can I solve this problem of version conflict?

javascript - bootstrap-datepicker empties field after selecting current date -

If I have autocalues ​​enabled, and I select the field from the calendar that was previously selected, this field will be empty And then closes, as expected, datepicker can still get the AutoCoos feature, but is this field empty? For example, look at the demo, Make sure AutoCaus is on Select a date. Open the date picker again, choose the currently selected date again. The field is empty again thanks The Bootstrap provides date pictures that you can take advantage of to accomplish your goal. Here's the way to do this: $ ('# sandbox-container input'). The dates ({autoclus: true}); $ ('# Sandbox-container input') ('Show', function (e) {if (e.date) {$ (this). Data ('sticky date', e.date);} and {$ (this). Data ('sticky date', empty );}}); $ ('# Sandbox-container input') ('Hide', function (e) {var stickyDate = $ (this). Data ('sticky date'); if (! E.date & stickyDate) {$ (this) .Det Picker (...

r - Does a dot after numbers have any particular meaning within arithmetic statements? -

I keep some code where the previous author used such statements: x & lt; - (a) Or: z [z or: f I thought that the result was probably put to emphasize a float, but the statements seem to be obscure in this regard, and I was not under the impression that R is in this regard Need some help with different numerical types. He can come only with other explanations that the original floats in the original and the last writer had asked lazy to remove the decimal point when he was converted into an integer. Is there any other possible use for the dot that may be relevant or are I securing these statements?

php - Adding a script CHtml::textField() method -

मेरे पास निम्न कोड है: गूंज करें CHtml :: textField ('car_type_title'); और यह आउटपुट करता है: & lt; input type = "text" value = "" name = "car_type_title" id = "car_type_title" & gt; मुझे कुछ स्क्रिप्ट निष्पादित करना चाहते हैं। मैं इसे ऐसा कर सकता हूं: गूंज करें CHtml :: textField ('car_type_title')। "& Lt; स्क्रिप्ट & gt; $ ('# car_type_title')। पर ('परिवर्तन', फ़ंक्शन () {चेतावनी ('');}); & lt; / script & gt;"; क्या CHtml :: textFied () के साथ कोई पैरामीटर जोड़ने का एक तरीका है, जो कि फ़ंक्शन कॉल करेगा? मैं उन HTML ऑब्जेक्ट्स को नहीं समझ सकता .. फ़ाउंड सॉल्यूशन: CHtml :: textField ('car_type_title', '', सरणी ('onchange' = & gt; 'javascript: चेतावनी ("हम यहाँ जाते हैं!"); आप कुछ की कोशिश कर सकते हैं यह। & lt;? Php echo CHtml :: textField ('car_type_title', '', सरणी ('oncha...

c# - Implement a [DllImport] like mechanism -

Here's my problem: Within a PCL library, I'm going to call unmanaged code from C + + DLL. This DLL comes in two versions (x86 and x64) and for performance reasons, the correct library should be referenced on the platform where the PCL library is embedded. Since the [DllImport] attribute requires a constant string in the form of a library name, it is useless in a very solid way, as the correct library is set to runtime There are some "husband" modes to manually load functions ( LoadLibrary , GetProcaddress and GetDelegateForFunctionPointer ) but I make it more convenient Going to programmers. So, declaring an external function is not a problem. Well, the C # compiler detects the external and is worried about the fact that the missing [DllImport] attribute With, when the type is loaded then the external solution can not be. OK, I have defined the code [MyImport] and placed it on external announcement and bingo, at least the compiler was happy. At the...

apache pig - StrSplit in Pig functions -

Can someone explain to me in getting this output down in Pigscript my input file is down a.txt aaa.kyl, data, data bbb.kkk, data, data cccccc.hj, data, data qa.dff, data, data I am writing pig script like this using A = load 'a.txt' PigStorage (',') AS (a1: chararray, a2 : Chararray, a3: chararray); B = format A Generated Flatstone (Strass Limit (A1)), A2, A3; I do not know how to move forward with it ... I keep it like this. Basically I need all the letters after the dot mark in atom for the first time (kyl, data, data) (kkk, data, data) (hj, data, data) ( DFF, Data, Data) Can someone give me the code for this What you need to do here - There is a problem of survival here Pig parsing routine, when it encounters dot, because it is considered as operator, then A. See this link for more information. You can use the Unicode Escape sequence instead for the dot: \ u002E However it should also avoid slash and put in single quoted string. T...

cakePHP: having model named 'Page' -

I'm going to create a model called 'Book' and 'Page' which are related. How can I avoid the controversial folder between the 'page' and 'page' inside my 'page' and 'folder'? I should note that inside the cake pages, I get some static pages such as Code> PagesController to change the name of > Static Page Controller (and related changes in routes and view folders) Then a new page controller & amp; Page model. If you use public $ = array (); If you want to remove PagesController . > But because your book pages and static page rendering are not unrelated, this is not the best to do so.

ruby on rails - get a reference to a class to output meta information of calling class -

I am debugging some callbacks in my ActiveRecord models. I would like to have a globally available method like the following: logger.info ("ITEM Calling Check_States") But I Want a normal version that I can add to a model class I was thinking about Monkey Bar Active Activecore recording: Like the following in the base initializers / my_initializer.rb: class ActiveRecord :: Base # This work is done at end_log_proof logger.info (" Logger.com ("# {klass.name})" at the end of the End Def FIF Log () ("# {klass.name}}") Logger.com ("Calling # {Class.__ Method __} .pack # {klass .__ FILE__} line upcase: # {class____ LINE__} ") Ending And if I call like this: class items & lt; ActiveRecord :: Base after_save: my_callback def my_callback end_log_proof # this works end_log (auto) # ouptuts: "calling MY_CALLBACK at ...." end failed with another: No mathrier error (undefined method 'name' for item # and lef...

javascript - Best practice for communication between app and server when using PhoneGap/Cordova -

I am using ionic a Fongap project is basically a chat app, so I users to its servers But be able to register, login and send messages using the backend API. Naturally it is important to be safe, so I am thinking that APIs are the best way to communicate securely with endpoint, when an anergy and phonegap is used. Ideally, it should not require server certification. Currently I have no money to buy one In previous projects, I used a method where each account should have an ID, and His ID was included in a hash, his ID was included, to be included with each request to ensure that the user could not make a request with any other ID, I do not know How safe is this method? Any suggestion, suggestion or reading material will be really appreciated. I understand that this question seems subjective, so if possible answer on the basis of facts, security disclosure and any documents of the method. I know the solution to all your needs and it is called. How will your requirements fr...

check and replace only string of div with javascript -

var कीवर्ड = 'परीक्षण'; वैर की जगह = $ ("test-section")। Html ()। प्रतिस्थापित करें (नया रेगएक्सपी (कीवर्ड, "igm"), '& lt; span class = "greenbackground" & gt;' + keyword + '& lt; / span & gt; ); $ ( "टेस्ट अनुभाग।") एचटीएमएल (प्रतिस्थापित)। मैं अपने पैराग्राफ के एक कीवर्ड को उजागर करना चाहता हूं उपरोक्त कोड को अच्छी तरह से काम कर रहा है, अगर मेरे पास 'परीक्षण' मेरे div सामग्री में है, यहां तक ​​कि कक्षा प्राप्त हो रही है मैं केवल विशिष्ट स्ट्रिंग के लिए अपना कोड परीक्षण कैसे कर सकता हूं कृपया एक ही मुद्दे पर यदि आप एक शब्द सीमा की जावास्क्रिप्ट की परिभाषा से खुश हैं, तो आप \ b का उपयोग करें: var keyword = 'test'; प्रतिस्थापित = $ ("test-section")। Html ()। प्रतिस्थापित करें (नया RegExp ("\\ b" + keyword + "\\ b", "igm"), '& lt; span class = "greenbackground" & gt; '+ कीवर्ड +' & lt; / span & gt; ...

regex - Regular expression to capture between spaces -

मेरे पास निम्न स्ट्रिंग है: SizesS ML XL चुनें और मैं 'आकार चुनें' के तुरंत बाद आकारों को बाहर खींचना चाहता हूं, मूल रूप से एक या दोनों पक्षों पर किसी स्थान के साथ 'चयन आकार' नहीं है, यह केवल regex द्वारा किया जाना चाहिए, जैसा कि आयातऑडियो विधियों के उपयोग का समर्थन नहीं करता है। यह मेरे पास इतनी दूर है: (?: आकार चुनें ) \ W (\ s \ w) * धन्यवाद अग्रिम! यदि आप एक ही (? सभी संशोधक से मेल खाएं / g ऊपर रेगेक्स पर लागू होता है परीक्षा स्ट्रिंग के लिए परिणाम SizesS ML XL चुनें [12-13] एस मैच 2 [14-15] एम मैच 3 [16-17] एल MATCH 4 [18-20] XL डेमो पर

node.js - Cordova version error while using ionic to create new app although cordova is latest -

ionic का उपयोग कर एक नया ऐप बनाते समय मुझे निम्नलिखित त्रुटि मिली। मैं मानक दस्तावेज़ के अनुसार निर्देशों का पालन कर रहा हूँ () gsakhardande @ gsakhardande-पीसी: ~ / डेस्कटॉप $ आयनिक शुरू MyApp खाली बनाना आयोनिक में एप्लिकेशन फ़ोल्डर / घर / gsakhardande / डेस्कटॉप / MyApp खाली परियोजना पर आधारित डाउनलोड कर रहा है: [=========================== ==] 100% 0.0 एस डाउनलोड करना: [=============================] 100% 0.0 रों config.xml अद्यतन आरंभ किया जा रहा कॉर्डोबा परियोजना। लाई जा रही है प्लगइन "org.apache.cordova.device" प्लगइन रजिस्ट्री त्रुटि: EACCES, mkdir '/ घर / gsakhardande / tmp / NPM-18818-6xrPvo -8' प्लगइन्स जोड़ने में असमर्थ। शायद कॉर्डोवा का आपका संस्करण बहुत पुराना है। अपडेट करने का प्रयास (NPM जी कॉर्डोबा स्थापित), इस परियोजना फ़ोल्डर को हटाने, और फिर से कोशिश कर रहा है। रनिंग कमान sudo sudo ionic start todo blank के साथ

java.util.scanner - Scanner hasNext() doesn't match correctly inside if statements -

I created the following code after creating a loop for a while. I can not tell why the loop is not set to view 17 lines and 15 lines while (scan.hasNext ()) {selectedUserName.setText (scan.next ()). If (scan.nxtine () .toString () == "male") {male = new gerdio button ("male", true); } And if (scan nxtine () .toString () == "female") {female = new jeradio button ("female", true); } SelectedGenderText.setText (scan.nextLine ()); If (scan .nxt () .toString () == "warrior") {userClassBox.setSelectedItem (class [0]); } And if (scan.) (). ToString () == "wild") {userClassBox.setSelectedItem (class [1]); } And if (scan.) (). ToString () == "Dana") {userClassBox.setSelectedItem (class [2]); } And if (scan.) (). ToString () == "Thief") {userClassBox.setSelectedItem (class [3]); } SelectedClassText.setText (scan.nextLine ()); PointsText.setText (scan.nextLine ()); PointsSlider.setValue (Integer.parseInt (scan....

mongodb - Monodb database migration with embedded query -

Currently the messages objects in my database are set as the following. "Message": "Message": "System", "Message": "Sean Collahne has entered the room.", "Time": 1406479167270, "Type": "System_ Message", "Room I want to migrate my data basically so that in each message the room id will be displayed in every message: "Helloorom", "_ID": "4IHHHMMGJNTTHWW"} Yes, that indicates in the appropriate room. Currently it is done with the room attribute, which I see for some reason in my own way. The objects in my room are set in such a way. {"_id:" xxxxxxxxx "room_name:" "testroom"} So I was hoping that there was a way to run a liner The correct room id is set for the current message based on the current room attribute which will simply add I was thinking like something .. db.messages.update ({}, {$ set: {roomId: db.rooms.f...

apache - unable to connect to localhost:8080 with Vagrant and Ubuntu -

I tried to install Ugrant and Ubuntu on Mac OS 10.9.4, from which the local development server @fideloper:. Vagrantfile includes: config.vm.box = "ubuntu / trusty64" config.vm.network "forwarded_port", Guest: 80, Host: 8080 config Vm.synced_folder ".", "/ Var / www / html" Evreything worked fine during the process: Frequency and Virtualbox installed, Apache is installed on the guest , I tried On guest, Code> curl-v 'http: // localhost: 8080' gives the same page. But the browser says this webpage is not available at localhost: 8080 Why is not the browser showing localhost: 8080? Settings: config.vm.synced_folder "." Whatever is in the server's / var / www / html directory, with the of your host machine, whatever is in the "/ var / www / html" will be overwritten directory (shared directory). Now the default index.html file is not on HTML / code because you have...

html - how to remove the background image using jquery with class name -

I am trying to remove background image using jquery. But this is not happening, but the same format I can change this by using the background color & lt; Html & gt; & Lt; Top & gt; & Lt; Style & gt; H1 {background-image: url ('paper.gif'); Background color: #cccccc; } & Lt; / Style & gt; & Lt; Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; $ (Document) .ready (function () {$ ("h1"). Each (function (index) {$ ("." + $ (This) .attr ("class")). CSS ('background-image ',' No one ');});}); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; H1 class = "red" & gt; This is a title & lt; / H1> & Lt; H1 class = "yellow" & gt; This is a title & lt; / H1> & Lt; H1 class = "red" & gt; This is a title & lt; / H1>...

php - CMS Made Simple: lost permission to access admin panel -

I'm a little amateur (and CMS is brand new on MS) so this may be a bit silly question, but I can The answer can not be found. I captured it on an old page to renew it. So I was trying to update a new CMSMS version manually. I had backed up all files in public_html directory (and deleted after backup) and mySQL back up (but I did not remove it). And after I removed all the files, I remembered that I had forgotten to back up the page topic, so I tried to recover an old page. I did it to recover: Old files of public_html - Changed the old password of mysql database and changed it to configuration file. The webpage is working right now, but I can not access an admin panel. I get this message when I try to access it: 403 Forbidden You do not have permission to access this server / admin /. Thanks for the help! If you are a user and have an email associated with your account, then you can use it Forgot your password? Link. If you do not have an email associated...

perl - How to print the array element values in array order? -

How to print array values ​​in order of array elements? @ ab = & lt; Statistics & gt; Print "@ab \ n"; @ A = QW (ABCD); Forex $ s (@ab) {foreach $ m (@a) {$ z = ~ m / $ m / g; Print "$ z"; }} __DATA__D43A5B24D4A12B 54C11A1D13232Isi / DTADD43A5B24D4A12B 54C11A1D1 32 32First> First value of the first array array element is printed on the second and so on. How can I do this? Your external loop should loop at @ A and @ Ab my @ ab = & lt; Data & gt ;; My @ A = QW (ABCD); Do your $ S (@Ab) before your $ M (@ A) {print $ s if $ s = ~ / ^ $ m /; }} __DATA__D43A5b 24d4a12b 54c11a1d132bbx one 5 a12 a1 32b 24b 54 c 11d 43d 4D1

java - Survey/questionnaire system for dynamically integrating answers from SQLite database or CouchDB -

I am currently working on my master thesis for which I had to apply Android applications in the next step, I will conduct the study, in which in addition to the others, I must survey the integration and evaluation of the collected data through a above mentioned application. For this, I am looking for a system / library / service which is probably capable of doing this with minimal effort. So far, I have come in JSurveyLib , but of course I have played only for a while, yet is there anyone who has the experience of this library and can tell me that Is there an effective way to use this lib in relation to the following specifications and requirements? For relevant specifications: I have implemented an Android app that tracks the participant's data, stores it in the SQLite database, along with it's remote CouchDB As soon as the data collection is complete, I will have to do a survey with each interaction, which integrates data integrally collected through the participan...

asp.net - I can't call a method that's in the App_Code folder within the ashx file -

Image
I have a problem (do not know what happened because of this - previously worked fine): I can not call a function in the ashx file from the App_Code folder (with a regular code behind the C # file, it's working fine). The name of the class is SendMail and the name of the method is SendEmail the handler file: method What could be the reason for this ? You have two sections named SendMail , which are both compilers and both Confuses you I highly recommend the more meaningful naming of your components. If your classes are in two different namespaces, then you can clearly specify the target class using your entire namespace. Something like this: your namespace.Sandmail Then you can call the method: bool mailsant = Your namespace. Sendmail. SendEmail (first name, last name, ...

javascript - Displaying the name of tomorrow (ie. Monday) -

An easy way to display tomorrow's day name? So by now I am able to do this PHP (see below) and in today for JavaScript but for tomorrow I am having trouble? Javascript for today var days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday ", "Friday Saturday"]; Var Today = New Date (); Document.write (day [today.getDay ()]); PHP version resonance date ("L", strontem ("+ 1 day")) Is this an easy way to do this? I have seen many stack overflow questions about this but they all seem very incredible and complex! Your javascript looks good, except that you only print today Are there. , "Saturday"]; Var Today = New Date (). GetDay (); Document.write (day [(today + 1)% 7]);

java - Accessing a Map<String, Interface-Impl> which is not configurable in root object graph in Guice -

I want to know what is the equivalent of spring usage @ etoWire Maps & lt; String, KeyWordExecutor & gt; KeyWordExecutors; From what direction I guess Guice, I only want to use the instructor only in the bootstrapping part and not anywhere else. If I want to instantaneously implement the interface based on runtime input at some level of my object graph, how should I do this? Below is some simple code I want to get and how do I do it with spring. I think the package-scan of Spring helps me pull myself in random maps and I want to know how to do it guice. Interface Rule Exceptor {...} Interface Key Enhancer Exchanger {...} Spring based code Class standard router applies to mutator rules Exeter {@ Autoward Map & lt; String, Keyword Excleter & gt; KeyWordExectors; Execute @ Override Public Zero (list & lt; string & gt; rule) {int val = 0; Forex currency (string rule: rule) {string keyword = getKeyWord (rules); Val = keyWordExecutors.get (keyword...

php - iOS Post to Python Script on Google App Engine -

So ... the short story is that I was using all of this Apache webserver locally (PHP Using backend) then I wanted to run it on a real web server and thought that Google App Engine would be good for me, it was working for most part (local GAE app with Cloud SQL), but no connection to Google Cloud Storage could get. It seemed that there was not much help in PHP and community () I decided that I would try and switch to Python and give it a shot. I am still very new to Python, HT, Request, PHP, etc; Please kindly please;) but I can not even get a basic dragon script to work with the iOS application. I'm getting an HTTP Error 404. (Php version worked) All the codes here are: Objective-C: ... Post with Username and Password. NSString * post = [[NSString alloc] initWithFormat: @ "email =% @ and password =% @", [auto] User-textfield text], [self Password typefile text]]; NSURL * url = [NSURL URLWithString: @ "http: // localhost: 9080 / login.py"]; // Encode...

spring data jpa - How to have a @Query with a possibly null parameter -

I have a @Query that gives me the problem I want to get all the webpages Those who have a given parent, even if given given parents father. Parents can be set but it can not be set too. I is trying this: @Query ("Choose from wp = wp = parent: parent (or parent: parent.id & lt; '1')) order by w.listOrder ") public page & lt; Webpage & gt; FindByParent (@Param ("parent") webpage parents, page creation page); and this: @Query ("Select from the webpage where w.parent =: the parent (or the guardian is parent and the parent) )) Order by w.listOrder ") public page & lt; Webpage & gt; FindByParent (@Param ("parent") webpage parents, page creation page); But I get an exception: By: java.lang.IllegalArgumentException: The method failed to validate the query for the public abstract. Com. Thalasoft.learnintouch Data.jpa.domain.Webpage com.thalasoft.learnintouch.data.jpa.repository.WebpageRepository.findByP...

ruby - Simplifying rspec unit tests -

There is a lot of cumbersome and unnecessary in unit testing in the RSPC for specifying both a reference and a kiss. For example: reference 'type =: invalid' do (: type) {: invalid} this {hope} {subject}. Raise_error (ArgumentError)} End If I can do something like this then it would be nice (Overall in many trials): let_context Type: : Invalidate {hope {subject}. The rule will define a reference and the argument for more reference to me such as type =: invalid or Let's (: type) {: invalid} Because I have nothing else to say that this variable has been changed.

Create Wrapper for SuperLearner in R: testAlg$pred error -

मेरा कोड: # मेरे परीक्षण आवरण SL.test & lt; - function (Y .temp, X.temp, newX.temp, परिवार, ...) {fit.test & lt; - glm (Y.temp ~ राज्य, डेटा = X.temp, परिवार = परिवार) बाहर & lt; - भविष्यवाणी (फिट। Lt; - सूची (ऑब्जेक्ट = फिट.test) foo & lt; - सूची (बाहर = बाहर, फिट = फिट) वर्ग (foo $ फिट) & lt; - c ("SL.glm") रिटर्न (एफू)} # मेरी लाइब्रेरी SL.library & lt; - सूची ("SL.test") फिट & lt; - SuperLearner (वाई = डेटा.samp $ y, X = data.samp [, सी (2: 7, 9: 11)], SL.library = SL.library, परिवार = द्विपदीय (), विधि = "विधि। एनएलएस", वर्बोज = सच) त्रुटि: त्रुटि [, एस] & lt; - testAlg $ pred: प्रतिस्थापन की लंबाई का एक बहुमान नहीं है यदि मैं तैयार स्लाइडर के साथ SL.library को भरने के बजाय, कोई समस्या नहीं है। उदाहरण के लिए, निम्नलिखित में कोई त्रुटि नहीं है: SL.library & lt; - सूची ("SL.glm", "SL.mean") किसी भी विचारों की बहुत सराहना की जाएगी यदि उपयोगी हो, तो मेरी आवरण अनिवार्य रूप से परि...

python - facebook.GraphAPIError: An active access token must be used to query information about the current user -

I am getting this error in my friends list trying to print a little longer. I am a lot, I am providing a token. Any ideas on this? Import Import Import urllib import urllib2 import json import urlparse import subprocess import alert import urllib2 import json #https: //developers.facebook.com/tools/access_token/ # your app the parameter profile id like to mess with you FACEBOOK_APP_ID = '{app_id}' FACEBOOK_APP_SECRET = '{app_secret}' FACEBOOK_PROFILE_ID = 'my-id-number-here' # access is trying to get the token. Very strange Oauth_args = dict (client_id = FACEBOOK_APP_ID, client_secret = FACEBOOK_APP_SECRET, Anudan_prkar = 'Claintkadenshiyl') oauth_curl_cmd = [ 'curl', 'https://graph.facebook.com/oauth/access_token?' + Urlib.urlencode (oauth_args)] oauth_response = subprocess.Popen (oauth_curl_cmd, stdout = subprocess.PIPE, stderr = subprocess.PIPE) .communicate () [0] Try: oauth_access_token = urlparse.parse_qs (str (oauth_response...

php - returning variable from custom table in WordPress (after retrieving from URL) -

I have a code that should capture the Story ID (SID) which is given in the URL and in the end the stories Returns the reference table to get story_name for the SID and then print story_name in the last line of the story. I am close If I do var_dump () I get this message: string (7) "result" I tried but it does not return anything. I am also wondering if I am using the table correctly using $ wpdb object if this table is not a table that starts with wp_ (to say this, This is a custom table but it is in the same database). & lt ;? Php global $ wpdb; // Get CID $ the_SID (isset ($ _GET ['SID']))? $ _GET ['SID']: Wrong; // Story object (for story_name) $ result = $ wpdb-> Get_results ("Where are the stories from the stories from the stories, where are the SIID = $ the_SID"); Var_dump (result); ? & Gt; Article title: & lt; B & gt; & Lt ;? Php echo $ result-> Story_name? & Gt; & Lt; / B & gt; By default...

algorithm - How to efficiently digitize a color scale? -

Image
In the context of a Doppler signal analysis, the measured velocity is converted to a color scale such as the bottom. Unfortunately, I do not have any direct access to the values ​​of velocity, so I have to digitize the color scale to 1-digit numeric scale , through an analog signal S-Video cable, a Python Nampi Areas as images (as given below) Are anybody pointing me to a suitable algorithm, please? Should I try to use a color histogram? Additional information: Color scale is symmetric, so if maximum velocity is x , then min Red: Maximum positive velocity (for supervisor) (Away from the supervisor) This scale will be used to analyze such pictures (OpenCV usage): This looks like color Without the need to use HSV or HSL, it is quite easy to reproduce. x is a float and -1.0f to 1.0f : r = std :: max int> (255, 512 * x))); G = std :: max & lt; Int & gt; (0, std :: min> int> (255, 512 * (std :: abs & lt; float & gt; (x) - 0...

swing - How to append text to a textfield from a class outside of main in Java? -

I'm new to Java and I'm trying to output a text file that is found in main and outer sections I can not get it to work. In my main, I have: public static zero main (string [] args) {GUI gu = new GUI (); Gu.display.append ("hi"); } In my GUI class, I have: import java.awt. *; Import javax.swing *; Public class GUI extends JFrame (public GUI) {Flow layout float = new flow layout (); Container pane = getContentPane (); JTextArea Display = New JTextArea (30, 90); Jebton Button = New Pocket ("Click Me"); Jlabel label = new jlabel ("do not click it!"); SetTitle ("Merchables!!"); SetVisible (true); SetSize (1000600); SetDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); Pane.setLayout (flo); Pane.add (display); Pane.add (button); Pane.add (label); }} I think the error you're getting is because the variable ' The display is 'Local' within the scope of its closest horoscope braces {}. This means that it is only in ...

Android Wear notification showing minimized -

I'm not sure what I'm doing wrong, I like the notification but I make it clock vibration, and less The effect I want to achieve should look like a Hangouts notification, which is to go on vibration and fullscreen here I am using the code (on the clock): Intent method = new intent (this, convivity.class); ActionIntent.putExtra ("number", number); Pending anticipated action PendingIntent = PendingIntent.getActivity (this, 0, action, pending transplantation. FLAG_UPDATE_CURRENT); // Compromise action notifications. Action Action = New notification compat.action. Builder (RDWable.IC_Luncher, "Answer", Action Pending Instant). Builder (); NotificationCompat.BigTextStyle bigStyle = New Notification BigTextStyle (); BigStyle.bigText (body) .setBigContentTitle (name); NotificationCompat.Builder notificationBuilder = New NotificationCompat.Builder (this) .setSmallIcon (R.drawable.ic_launcher) .setContentTitle (name) .setContentText (body) //.setContentIntent(v...

c - Why does the sizeof operator give different outputs -

I'm learning the basics of C for a course that I'm taking up soon, and right now I'm pointers and arrays I'm learning about I am using several contexts to know it, but in the book "C in Head First", I have the following: chars [] = "How big is this? "Char * t = s; Printf ("% i \ n", size (s)); / * Returns 15 * / printf ("% i \ n", Size (T)); / * Returns 4 or 8 * / All is well, but if I change the previous line to: printf ("% i \ N ", size (* s)); / * 1 Return (even on my company) * / So my question is different why? Apologizes that this is really a basic thing, but I have not yet wrapped my mind around the concept of pointers. size four array, s , which is 14 char s, plus one for the null terminator; Ergo 15 bytes Returns the size of sizeof (t) char indicator t . s is not known to the length of s because when you decrease its value from s , s one From an array type to an indicativ...

Powerbuilder 12.1 and DataWindow in Design vs Debug and Executable/Runtime -

I have a very strange situation with Powerbuilder 12.1. I have two issues that can be related - mainly because this is the exact same data window report. Problem # 1: You can not see the contents of Detavindo any and went nowhere, lost the ability to debug and display content Detavindo at runtime during the debug and runtime. But when you go into the data window in design mode, it prompts for the values ​​of those parameters, the content is only displayed, it is okay. Edit: Solve. This is due to a powerbiller that uses an integer rather than a long variable. The identity identifier in the database exceeds the upper limit of a PowerBuilder 16-bit integer (32767). I updated the logic for longer use, and resolved this problem # 1. ISSUE # 2: When I run the report code using the same data window mentioned in issue # 1 above, in debug mode, to create a new report file, this work Done - only in DEBUG mode Runtime failure - I got an error -1 during the runtime for the exact same...