Posts

Showing posts from July, 2015

osx - Cocoa NSTabView coding style question -

I have a coding style question that should be asked about a senior Mac programmer at work - but since I am alone Well, I have a pop-up GUI for my software (3D model, data visualization) and pop-up, mainly with a tabbed control, each tab (slider, radio button, checkbox, etc.) There is a ton of stuff with stuff like some 20 Rati Controls tab, and perhaps half a dozen tabs ... using a controller for all the scenes is to raise much faster load. Is there a main visual controller that loads a nice style of tabs? NSView * tabA = [[NSView alloc] initWithNibName: @ "tabA.nib" bundle: [NSBundle bundleWithPath: @ "/ application / BOB.app"]] ;; NSView * tabB = [[NSView alloc] initWithNibName: @ "tabB.nib" bundle: [NSBundle bundleWithPath: @ "/ Application / BOB.app"]] ;; How does this do it on iOS, but I'm not sure for Mac OS X. I like a style that provides maintenance and flexibility, because the code is going through the prototype and I t...

css - What is the correct syntax to refer to a gradient background color in javascript -

मेरे पास इस तरह जावास्क्रिप्ट कोड का एक टुकड़ा है। document.getElementById ( स्थिति) .style.backgroundColor = '# 800,080'; कोड में '# 800080' के बजाय मैं निम्नलिखित ढाल पृष्ठभूमि का रंग संदर्भित करना चाहता हूं। .mybk {background: - Moz-linear-gradient (शीर्ष, # सीसीसी, # 000);} ऐसा करने के लिए सही सिंटैक्स क्या है? मैंने इसे करने की कोशिश की लेकिन यह नहीं है काम। document.getElementById (pos) .style.backgroundColor = .mybk; बहुत बहुत धन्यवाद। आप तत्व जोड़ सकते हैं वर्ग के लिए myBK : document.getElementById (pos) .className + = "myBK"; या आप पृष्ठभूमि संपत्ति के लिए मान असाइन करें: document.getElementById (pos) .style.background = " -मोझ-रेखीय-ढाल (शीर्ष, # सीसीसी, # 000) ";

java ee - JavaEE Security,Access restricted pages: Logged out user is redirected correctly. Logged in user is not -

My app is a Java EE6 application that is running on Glassfish 3.0.1. I used JavaEE security with the JDBC region, so I added restrictions on some of my web pages. I've added the following login-configuration and security barrier in my web.xml: & lt ;! Index.jsp of restricted pages - & gt; & Lt; Login to- config & gt; & Lt; Auth-Method & gt; Form & lt; / Auth-method & gt; & Lt; Radius name & gt; JDBC & lt; / Circle-name & gt; & Lt; Form login-config & gt; & Lt; Form login page & gt ;? /index.jsp login = login & lt; / Farm Login Page & gt; & Lt; Form error page & gt; /index.jsp login = error & lt ;? / Form error page & gt; & Lt; / Form login-config & gt; & Lt; / Login-config & gt; & Lt ;! - Restrict access to dairy related resources - & gt; & Lt; Security-lock & gt; & Lt; Display-name & gt; Deanie Obligation & lt; / Display-name & gt; & ...

jsp - which scope (application, servletContext, httpSession) will EL use for interpreting attributes -

जब मैं & lt; c: out value = "$ {track}" & gt; का उपयोग करता हूँ एक jsp, जहां विशेषता ट्रैक (servletContext, http सत्र और अनुरोध) में स्थित होना चाहिए? मैंने विशेषता ट्रैक Http सत्र के लिए, लेकिन फिर $ {track} मुझे .jsp में कुछ भी नहीं दे रहा है दूसरी ओर, अगर मैं इसे सबलेट कॉन्टैक्ट में सेट किया है, $ {track} मुझे मूल्य दें यह सही नहीं लगता क्या आप जेएसटी (jstl) और नियंत्रकों (.java) के बीच के गुणों को पारित करने की दिशा दे सकते हैं? अग्रिम धन्यवाद। यह डाकू के तहत विशेषता का पता लगाने के लिए उपयोग करेगा लिंक किए गए javadoc निम्न का उल्लेख करता है: पेज, अनुरोध, सत्र (यदि मान्य है) में नामित विशेषता के लिए खोजें, और एप्लिकेशन स्कोप (ओं) क्रम में और रिटर्न मूल्य जुड़े या शून्य इसलिए, यह पहले नॉन-नल मान वापस करेगा जो पृष्ठ, अनुरोध, सत्र और एप्लिकेशन (सर्वलेट कॉन्टेन्टेक्स्ट) स्कोप के क्रम में खोज के बाद पाई जाती है। यदि आपके पास एकाधिक स्कोप में एक ही नाम के साथ विशेषताएँ हैं और / या आप किसी विशेष क्षेत्र से विशेषता प्राप्त करना चाहते हैं, तो...

javascript - And I thought I understood scope -

Can someone please tell me why the last entry of 'X' is not equal to 0 and 1. I thought because it has been declared out to be the global scope of a function and then its function is set to value 1 and this value will remain in a global form? I know that the first 'x' value inside the function is global because any variable is declared without the preferred keyword which becomes the property of the window object. Many thanks var x = 0; // global variable function y () {x = 1; Logs ("1.% N", x); // 1 1 var x = 2; Logs ("2.% N", x); // 2 2} y (); Logs ("3.% N", x); var subject of description Hoising , when your code is evaluated, it actually looks like this: var x = 0; // global variable function y () {var x; // Local !! X = 1; Logs ("1.% N", x); // 1 x 1 = 2; Logs ("2.% N", x); // 2 2} y (); Logs ("3.% N", x); // 3 Before executing y , a new performance reference is setup, and the process...

apache - Mass 301 redirect using .htaccess -

I am working on a large project that involves taking thousands of (30,000+) static web pages and turning it into CMS This issue is duplicate within many of these pages. I want to retain SEO using 301 redirects, however, I'm not sure about such a big redirection How to know in Here is an example of existing directory structure for pages. /page.html / folder / page / / folder / soffolder / page / / folder / software folder / other folder / page html as you can see Page .html is duplicated in all directories. The URL for that page will be just / page.html for the new CMS. For example, travel: You are redirected directly to the page / page this page option + reminder reviewing ^ (. *) Page.html / page.html [R = 301, NC] will always redirect to using 301 hard-redirects. By looking at the URL to rewrite this page, if anything is included before page 19 (except for the domain itself) and if it is, 301 then direct. You can actually use any sub-level, a...

Access iPhone disk from iphone SDK -

We have a scenario to access iPhones disk space, 1. The user will place a file in the disk space and the app will run 2. The app must access the disk space and identify the user posted file. 3. I can drag files into apps and pars and do business logic. Is it possible by any chance, I now consider it to be legally impossible. Please PS: App will go to Apple for verification process and will be available in App Store. As long as the user is ready to use iTunes to copy the device into the file, then It is entirely possible in 3.2 / 4.0. See UIFileSharingEnabled in the document.

c# - Groupbox with a flowlayout panel inside and autosize = true shrinks like it is empty -

I have a group box that holds a floating panel and is a part of the control in the flow-out panel. I have set up the Flowline tab to dock with my parents, because I do not know how many controls are there in the panel, I have set the group box to autosize right and the autosimode is set to grow and shrink. When I do this, the groupbox contracts as if it is empty. I need captions, so I can not remove the groupbox Anyone know why this is happening? There is nothing that does not stop anything from shrinking the flowout panel. You must at least set your AutoSize property to True.

php - input type=text $POST value is null -

I'm trying to send the value of search textbox to keydown on php page via jquery so that it can be displayed Although the results with search keywords, PHP page INPOST is not reading $ _POST in the input box [no button] html: .keydown (function () {// Post data var postData = {"bsearch": $ (this) .val ()} / / call $ .ajax ({type: "post", url: "quotes_in.fp"), data: postdata, // it Send your call with success: Nkshn (response) {$ ( "# Bikrot"). Html (response);}});}). . & Lt ;! - Start searching - & gt; & Lt; Div id = "search" style = "display: none;" & Gt; & Lt; Input type = "text" class = "bsearch" name = "search" value = "search" /> & Lt; / Div & gt; & Lt ;! - End Search - & gt; php: included_ense "inc / class.quotes.inc.php"; $ Quote = new quote ($ db); If (isset ($ _ POST ['search'])) // $ quotes- & gt; S...

PHP - Extracting weeks/days/hours/minutes from a date calc -

$ dateDiff = $ mtime - $ ctime; $ पूर्ण दिवस = मंजिल ($ दिनांकडिफ़ / (60 * 60 * 24)); $ पूर्णहोर्स = मंजिल (($ डेटिफ़ - ($ पूर्ण दिवस * 60 * 60 * 24)) / (60 * 60)); $ पूर्ण मिनट = मंजिल (($ डेटिफ़ - ($ पूर्ण दिवस * 60 * 60 * 24) - ($ पूर्णहोर्स * 60 * 60) / 60); गूंज "अंतर $ पूर्ण है दिन दिन, $ पूर्णहौर घंटे और $ पूर्ण मिनट मिनट।"; मैं हफ्तों को देखने की क्षमता भी जोड़ रहा हूं। मुझे पता है कि मैं एक ही प्रक्रिया को दोहरा सकता हूं, लेकिन क्या कोई लाइब्रेरी या आसान तरीका है? PHP 5.3 और ऊपर में, दिनांक समय वर्ग है। देखें।

c++ - Solving the array sum problem using iterators and testing for equality only -

Getting ready for the interview, I have the classic code "if there is an array that has two elements in Yoga It is decided to find out the number of questions ", using iterator logic so that containers other than the vector can be normalized. Here is my function here // Find the container given for two elements with the given yoga. // If there are two such elements, then return to the truth and point to // Errators // Elements. Bool hasElementSum (integer sum, constant vector & lt; integer & gt; & amp; ve, vector & lt; integer & gt; :: iterator & amp; EL1, vector & lt; integer & gt; :: iterator & amp; El2) {bool retired = false; El1 = v.begin (); L2 = V. and () - 1; While (! EL1 = el2) {if (* EL1 + * el2 == yoga) return true; ++ EL1; - el2; } return false; } This, of course, does not work, but I can not understand it while using the condition without using (EL1 & gt; = El2) . Various sources I looked for advice agains...

css - Tableless html alternative -

Would not anyone use the table to show the following in the layout? ______________________________________ | _______ | _____________ | | | _______ | _____________ | _______________ | | _______ | _____________ | | | _______ | _____________ | | | _______ | _____________ | _______________ | The third column requires the extension of the first two "rows" and then increase the next three "rows" before the "column" should have the same width Update: The content of the markup contains checkboxes, text boxes and textwares Conclusions: This very educative Used to be. I believe that I have been cleared with this philosophical question. I think the general rule should be: Do not use tables for your entire website, if there is a class that looks like a table, use the table "Use a table Never seems to be extreme impractical and theoretical. Similarly, excessive use of tables makes maintenance difficult, and handling 4-deep nested tables can be a...

How to get the xml-safe version of an sql server XML Column -

Is there any way to get XML-secured version of XML-Sacred version in SQL Server? Secure from XML I mean that & lt;, & gt; & # 39; & # 39; & # 39; Etc. to avoid special characters like I want to avoid replacing myself. There is a build in the function in SQL Server. What I want to achieve is to store XML content in another XML attribute. I think xml-safe means you mean to avoid XML special tags. If you have an XML column that you want to include in another XML document, then you have two options: Column to [*] : Select project as .., for the XML column [*], ... from ... to xml path ... For example, this result will embed the XML content of columns in XML. If the value in the column is and element & gt; Value & lt; / Element & gt; then the result is & lt; Root & gt; & Lt; Line & gt; & Lt; Element & gt; Price & lt; / Element & gt; & Lt; / Row & gt; & Lt; / Root & gt; . Project column...

multithreading - What mechanism do PIPES use to "wake up" the recipient? -

I have two questions. On Windows, I'm familiar with pipes and how they work. However, I am curious to know which system is used to inform the receiver thread of arrival to any message. Is there a continuous "pole and sleep" thread for the data? OS checks whether the thread is sleeping and wake it up? Or is there any other mechanism used? Specifically, I want to create an IPC system where the message has to be given to multiple threads. I do not have to use pipes, but I need to know the most effective notification method. Developers can decide how they want to work with pipes, even if they sleep / Make choices or they want to call blocking functions and wait until data is available. To wake up the process about that pipe - this process is in the reading call while pausing - this is not a pipe, but the OS that charges like another OS call: this operation registers and Process / unless the data is available. When the data is available, this system completes t...

download - file downloader with php to webpage -

I develop a webpage and I want to create a download section. I have a PHP code to download the file, but I have tried it many times, but it does not work, I see the error message continuously, but the picture. The JPG file is in the same directory as the downloaded .php and index.php. I do not know what the problem is. Content of Download.php: & lt ;? Php if (isset ($ _GET ['file']) & amp; amp; and bassname ($ _GET ['file']) == $ _GET ['file']) {$ filename = $ _GET ['file' ]; } And {$ filename = NULL; } $ Err = '& lt; P style = "color: # 990000" & gt; Sorry, the file you are requesting is unavailable. & Lt; / P & gt; '; If (! $ Filename) {echo $ err; } And {$ path = 'Downloads /'. $ Filename; If (file_exists ($ path) & amp; is_readable ($ path)) {$ size = filesize ($ path); Header ('content-type: application / octet-stream'); Header ('content-length:'. $ Size); Header ('co...

c# - Determine if a key is currently pressed -

इस सवाल का पहले से ही एक उत्तर है: 11 जवाब मुझे निर्धारित करने की आवश्यकता है यदि एक कुंजी को वर्तमान में दबाया जा रहा है मुझे एक घटना की आग की आवश्यकता नहीं है, मुझे बस यह निर्धारित करने की आवश्यकता है कि कोई कुंजी को कोड पथ तय करने के लिए दबाया जा रहा है या नहीं। मैं चारों ओर देखा और कुछ महान ग्लोबलकेउक क्लास हैं, लेकिन वे घटना आधारित हैं। थोड़ा उदाहरण, मूल रूप से मुझे यह निर्धारित करने की आवश्यकता है कि जब उपयोगकर्ता मेरे ऐप के शुरू होने पर नीचे कुंजी रखता है और यदि ऐसा होता है तो ऐप एक बात, अन्य बुद्धिमान यह सामान्य रूप में शुरू होती है क्या किसी को भी कोई विचार है? इस पोस्ट को देखो, अगर आपको कुंजीपटल-स्थिति ऐप-स्टार्टअप पर दूसरी सबसे बड़ी पोस्ट की जांच करें, इसे DLLImport के साथ कैसे दिखाया गया है

php - Secure login with Twitter oAuth - best practice -

I'm new to oAuth and trying to create a web application using Twitter to authenticate . There will be no other login method other than Twitters oAuth. I am looking to advise on best practices for securing a site based on tokens. Generate access token for user Get users unique Twitter ID via Twitter API Search for a user in local DB with this ID and locate the access token if available. If there is no user, then create new line in user table and avoid user. If the user is found, then update the login token on the user's record again. If the user is found, twitterid is set as md5_salt and cookie. If the user re-visits, based on the lookup user cookie Is this sound like a safe perspective or is there a bad idea of ​​the MD5 Twitter ID? Appreciate any comments. Without knowing what your client / consumer application is doing, it is difficult to say that The approach will be "safe". There is a problem I am looking at, how is it that when you...

windows phone 7 - Handling the OnNavigatedFrom / OnNavigatedTo events in the ViewModel -

When I navigate from the page or to save or restore the position of the page, Trying to remove the path The first attempt I tried was to add an event talk comedic behavior on the page, but the event (Onalvisent and Onvigated) was declared protected and does not appear to bind eventual events. Next I thought that I would try to use the code behind the code to see a message from ViewModel using Messenger Class: Protected Override Zero OnNavigatedFrom (System.Windows.Navigation.NavigationEventWorks e) {Messenger.Default.Send & lt; PhoneApplicationPage & gt; (this); Base.OnNavigatedFrom (E); } To update protected override zero (System .windows.navigation.NavigationEventErgase E) {Messenger. Default. Send & lt; Phone applications page & gt; (this); Base.OnNavigatedTo (e); } But there are two problems in this, the code behind the first code is getting the code. Second, View MODEL, without making a wrapper class for the phone applications page object, the openjet...

ruby on rails - How to make a render :edit call show the /edit in the address bar -

In the update action of my preferences controller in my Rail app, if there are any errors / save in the verification call: format.html {render: edit} There is not any uncommon - however, when this code gets hit, the address in the browser For example: For example: To start with this, my browser shows that I On the page at the following address: However, once the errors are detected and render, it is converted into an address I can not say that I have never Have seen behavior - but is there a way to compel the edit / stay at the end of the URL? Instead of calling "post-text" itemprop = "text"> render , you can edit redirect_to on the edit page, and flash To keep track of the model: def update # ... if !@model.save # was an error! Flash [: model] = @ModelRedirect_to: Action = & gt; In the action you can reload the meaning from flash [: model] : and then edit Meaning: def edit flash [: model] @model = flash [: model] a...

python - How do greenlets work? -

How is implemented? Python uses C stack for interpreter and piles-stack python stack frames, but apart from this, how it allocates / swaps stack, how it hooks into the interpreter and function call mechanism, and this extension How does it interact with? (Any quirks)? There are some comments on the top of greenlet.c in the source, but they are slightly opaque. FWID I am coming from a perspective of someone who is unfamiliar with CPython internals, but is very familiar with low-level system programming, C, threads, events, corlines / cooperative threads, kernel programming etc. (Some data points: they and they.) If found and greenlet If you study, you will see a long commentary on the top of greenlet.c which starts from 16 line with the following summary ...: A PyGreenlet There is a range of C stack addresses that should be saved and restored in such a way that whenever we switch in the full range of stacks, there is valid data. and continue on Line 82, who are aski...

java - Trying to do an OR test with JSTL inside my jsp template -

मेरे जेएसपी से मेरे पास निम्न कोड है जो काफी काम नहीं करता: & lt ;% @ Taglib uri = "http://java.sun.com/jsp/jstl/core" उपसर्ग = "सी"% & gt; & Lt;% @ taglib uri = "http://java.sun.com/jsp/jstl/functions" उपसर्ग = "एफएन"% & gt; & Lt; c: सेट var = "संदर्भपथ" मान = "$ {pageContext.request.contextPath}" / & gt; & Lt; c: सेट var = "requestURI" मान = "$ {pageContext.request.requestURI}" / & gt; & Lt; c: set var = "isPeople" मान = "$ {एफ एन: में (requestURI, '/ लोग /')}" /> & Lt; c: set var = "isJobs" मान = "$ {एफ एन: में शामिल है (अनुरोध यूआरआई, '/ जॉब्स' ') || एफएन: समाप्त होता है (अनुरोध यूआरआई, संदर्भपैथ +' / ')}" / & gt; असल में, लोग पीपुल ठीक काम कर रहे हैं - यह देखने के लिए जांचता है कि यूजर मेरे किसी भी पेज पर है जो यूआरएल में '/ पीपुल /' है, और बाद में इसे दिखाने के लिए नीचे ...

architecture - Handling Error Messages -

Recently, I wanted to separate communication between client and server in a rich web application, which is made up of most widgets. Was there. Responses to the client are in a JSON format when the error message was time to make decisions about arranging two cases. Send feedback error parts such as {"success": "false", "errors": ["field 1": "message 1 "," Field 2 ":" Message2 "]} Send errors as headers and just return false to react ('X-application-error ',' ["Field 1": "message1", "field2": "message2"] ') / P> The second option is clearly visible; The user only checks the errors in the header, when they want, the errors seem to be in this way to become part of the protocol instead of being part of the reaction. Is this a good practice? One way is better than the other. I will send an error message as part of the response. Adding cu...

android - How to configure ListView to automatically change its height? -

Text after " I have three ListView widgets in the LinearLayout . Something like this (I am leaving XML elements that are not relevant in this example): & Lt; ListView Android: layout_width = "fill_parent" Android: layout_height = "360dp" /> & Lt; ListView Android: layout_width = "fill_parent" Android: layout_height = "360dp" /> & Lt; / LinearLayout & gt; This list forces the list to keep the height of 360 dip. Of course, it will be its height even if there are some inventory items. So, my question is how can I make lists an automatic height? Do I want that ListView height takes the correct size of the sum of all of your list items. I have implemented it in this way (code work is in progress, so compared to this solution More is an idea source): package com.customcontrols; Public class NoScrollListView ListView {@Override Zero onMeasure Protected Spread (integer widthMeasureSpec, integer heightMea...

Object not iterable with django's pagination -

Showing a list of events I'm using common ideas to prepare a list of events, and Setting the 'paginate_by' parameter. It's amazing that when I load my page, I see: An exception has been caught in TemplateSyntaxError at / event / latest / rendering: 'int' object is not iterable Pagination.html In the ninth row of the template: {% if_paginated%} {% load i18n%} & lt; Div class = "pagination" & gt; {% If page_obj.has_previous%} & lt; A href = "? Page = {{page_obj.previous_page_number}} {{getvars}}" class = "previous" & gt; & Amp; Amp; Lt; & Amp; the lift; Previous & lt; / A & gt; {% Else%} & lt; Span class = "pre-enabled" & gt; & Amp; Amp; Lt; & Amp; Lt; Previous & lt; / Span & gt; {% Endif%} #% {% page for page%} {% page if%} {% worth page page_bz.number%} & lt; Span class = "current page" & gt; {{Pages}} & lt; / Span & gt; {% Else%...

testing - test suite for CSV specification? -

I have been facing some problem for writing the test suite (test cases) for the basic CSV specification. I do not know how to write? Can anyone help? First of all, think as badly as possible to corrupt the input: per line Many fields, field / line delimiter, unbalanced field / line delimiter, inconsistent field / line delimiter, and escape characters, etc.

iphone - How does Bonjour Over Bluetooth Work -

Can anyone explain how well works on Bluetooth since the iPhone OS 3.0? The API is used only when Wi-Fi is off and Bluetooth is turned on. It is also said that a Bluetooth Pan is installed and hence the IP address comes in the picture. But Banjur (based on MDN) Multicast need to work. But, the Bluetooth pan (piconet) works on the master-slave concept, any data exchange between colleagues has to go to the first master and then the master will proceed to all customers. Apart from this, there is a ban on the number of slaves in piconet i.e. 8. Does that mean there is a limited limit on Bluetooth that it will work for up to 8 devices? Obviously, this is a PAN for PANU communication, so the limit is actually - one communication on one If you use Explorer bluetooth explorer, then with the exception, you have to present a service with the iOS device id 0x1115 . Since the connection does not have any GN and NAP nodes, only two devices can participate in the connection. Bluetoot...

wcf - Self Tracking Entities - AcceptChanges cannot continue because the object's key values conflict with another object in the ObjectStateManager -

I am stuck with this problem for more than a week. Hopefully someone can tell me in the right direction. I start with a brief description of my schema. Property 1 ---> 1 Address * -> 1 Area * -> 1 Field * -> 1 Country Package 1 -> * Property Use of Self Tracking Unit (STE) + WCF Step: Call the data store for the list of assets. Call the data store for a list of packages. The user selects a package and assigns something Save the package. In step 2, the call address is eagerly loading. References from p Assets. Include ("Address Area. Area. Country") This error is when trying to call context.Packages.ApplyChanges (package ) AcceptChanges can not continue because the object's main value is contradictory with another object in ObjectState Manager. Make sure the key values ​​are unique before accepting calls. Edit After spying around, I came to know that this is an STE problem. The problem is that you can not continu...

perl - How to set Oracle nls_date_format using Class::DBI -

I have followed the example on wiki.class-dbi.com to change the Oracle session but for this to work Does not seem to be Below is a snippet from my code (removed strict and warning for clarity of problem) package MyDB; Use Base 'Class :: DBi :: Oracle'; __PACKAGE __- & gt; Connection ('DBI: Oracle: DBNN', 'User', 'Password'); __PACKAGE __- & gt; Db_Main- & gt; Do (q [set session nls_date_format = 'yyyy-mm-dd hh24: mile: ss']); 1; Package MyDB :: TestTable; Use the base MyDB; __PACKAGE __- & gt; Table ('my_test_table'); __PACKAGE __- & gt; Column (.....); 1; Package head; Use MyDB; My @offos = maidi :: test-table- & gt; Search (seq_number = & gt; 1); Foreign exchange mine $ foo (@ ioos) {say $ foo- & gt; Made_time; } Although the result is not which I expect as yyyy-mm-dd hh24: mi: ss : Thank you. Thanks DBIX :: class hook provided It looks like you are starting with just the Pearl ORM...

SQL Server joins and where statements not working -

I have this SQL Server statement, and I'm not sure why this is not returning a record: SELECT contacts.firstname, contacts.lastname, contacts.address1, contacts.city, contacts.zip, countries.title AS Country Title, from States.title AS statetitle providers, join paid negotiations, contacts Leave countries on countries countount = Leave in states on contact states. States located on the United States Status = contacts State where payable futures Payable Interviews = 4 and Provider. Projector = Payable Invoice. Provider and Provider. Contact = Contact Contact Us " Simply, the following tables: Contact table: Contacts, first name, last name, address1, city, zip in its column Provider table contains: It includes the provider, contactor PayableInvoice table: its columns include payableinvoiceid, providerid So it Only the priority is adding please help. " Please help. Thanks! The first thing I do is standardized to use: SELECT contacts.firstname,...

Upload Photos using Silverlight - Ria Services -

I'm just trying to find good examples by uploading and downloading images using Silverlgith + RIA Services, I tried to find something but I failed, any help would be appreciated. Thank you in advance I have been found to be just useful And to ensure that the reading process improves and the image is used

automated tests - Testing File Creation Wrapper C#.Net - Thoughts -

This is probably a Nobew question that I will get a slot for it but here goes ... sorry for the length Trying to keep it will probably be less. Background I am working on triggering a code base, which I inherited in my new role. So I'm starting the test because I work on section / bug / new features. One of these features is an invoice printing function, which generates an invoice from the crystal report RPT file. There was already a small cover for the built-in crystal functions, I want to check it and make sure that we produce the files as necessary. Problems First of all, I know that anything that uses file io should not be part of the test, but do I have to cover it with integrity testing / system tests Can i do Do I run the cover with preloaded data and check that a file goes out? Can I inquire from PDF inquiries and make sure the details are correct? I have tried to break some IOs so that I can test the cover of the unit, but here I had a Cropical Report Docum...

customization - User-created Programming Fonts: Possible? -

I really hate all my options with programming fonts. Although I give a very special taste: I like non-monovitis, because in my opinion there is no reason to be in the columns of the alphabet. I prefer the minimum line spacing to fit more code on the screen. I will not use the fonts that change when you select them. I like if I look different from L and 1, and look different from O. me () {} [] / \::,. And for other such non-alphanumerics to be larger than normal Available with MS Suns (Visual Studio 2005, or Windows XP), it is not certain that they seem to meet their needs, but It does not make any sense: it does not keep them all - but why should it be done? We are used as programmers to create those things that we do not have. Users (or at least for me) are out of reach for fonts. I want to start with a published font and I want to customize it according to my needs, and then it's my IDE Studio, both 2005 and 2010) Practically speaking, is this possible? EDIT: Additiona...

Fading jQuery slideshow flicker / queue problem on mouseover (slideSwitch.js) -

I have optimized the code from Jon Raasch, which is the basically fading slide show script 'active' slide Promotes a high Z-index and animates ambiguity for the fading effect. This is working fine with a pause which temporarily stops the slide show on the mouseover. The issue I am facing is that I am trying to stop the script when I repeatedly shut down the script. I have experimented with Stop () , but it has not worked properly. Can someone give advice to put me in the following code? Or if I'm going wrong about it !! Cheers function slideSwitch () {var $ active = $ ('# HP-Attributes div.active'); If ($ active.length == 0) $ active = $ ('# HP-featured divi: last'); Var $ next = $ active.next (). Length? $ Active.next (): $ ('# hp-featured div: first'); $ Active.addClass ('Last Active'); $ Next.css ({opacity: 0.0}) .addClass ('active'). ({Opacity: 1.0}, 1000, Work () {$ active .removeClass ('active last-active...

python - Accessing methods of nested widgets -

I mvc is working on optimizing my design in this context The intent to simplify the API, which is quite frustrating, the Iv has prepared the overall widgets (things themselves and / pub messages) in an attempt to make things the same. For example, I have a main top-level Guinea class that contains a number of widgets including wxFrame notebook, notebooks contain many tabs, some of which are notebooks containing composite widgets. So call me the self.gui.nb.sub_nb.composite_widget.method () to call one of these overall widgets to the controller To make a suitable abstract for the visualization, I have made reference to these widgets (whose methods should be called in the controller), such as self.composite_widget = self.nb. Sub_nb.composite_widget () so that the call in the controller is now simplified self.gui.composite_widget.method () Is this an acceptable way of creating an abstract layer for the GUI? OK, there is definitely a way to handle this issue....

Can I host a facebook PHP application in my Django site? -

I have found a website created with Django, and I want to use that domain, which hosts a Facebook app Is something like PHP, it is possible? How can i do Thanks July Yes, it is possible , You should configure your server so that the documents of that particular URL will be parsed by PHP rather than the default. This configuration depends on the server you are using. You can find more information for Apache.

jquery - How can I sort my different height same width thumbnail like that? -

I have images of the same width but different heights ... I have seen before but I do not remember that I Where do I see ... I want to sort my thumbnail like above So start fighting :) I believe you are looking for.

android - Running activity in hidden(stealth mode) -

Please allow me to link or code or concept to run any activity in hidden mode. That's it It should not display any window or layout in the background .. without worrying the user to run. An activity is always something that is shown to the user if no activity is shown to the user. That code is not executing, but will be stopped by the system. You should check if you want a running process that the user does not see.

c++ - Are there any other keywords that can be accessed using the global namespace scope resolution operator? -

Global new and delete can be used as normal, but you can also prefix :: operator and this The same will work Are there any other keywords that have such behavior? Yes, you can also do the operator , like :: Operator + (A, B) . I believe that new , delete and are operators in standard C ++, which allow it Are there.

routing - rails: create a single table without id -

I just generated my first scam in the rail. Now, I do not want my table to have a field named "id" Instead I want to designate it as "uid" which would be an arbitrary string but I can not get my head about how to do this, especially with the management of routes I have set: Id => false and "uid" as primary key But the controller fails because it still tries to see it by ID And, I know that the railways are all about conferences and everyone and I should not try "Railroad "But I really want to do this work in this way. Update your code like this: create_table : Table_name ,: primary_key = & gt; : What is UID? T | ... and and your model should include this line: Class ModelName & lt; ActiveRecord :: Base set_primary_key: uid end will work with all common ID columns. Model.find uid, id and etc. will not be found ...

windows installer - How to determine the order of the file in the MSI cabinet? -

During the installation, MSI checks whether the order file in the cabinets matches the sequence column in the table. "How to decide in the cabinet" here I am facing a problem - even if the file is not found in "ABCFEE" cabinet "XYZ.CAB" The file exists in "XYZ.CAB" You should make sure that the files in the files table Sequence Your MSI actually matches the sequence of files (sequentially) in the fileslist.txt file, when you create your cab using cabarc.exe I So ... your cab creation command looks like this: % ROOT_DIR% \ tools \ cabsdk \ bin \ CABARC.EXE n mycab.cab filelist.txt Where to list filelist.txt to cache the list of files in the same way as in the file table in your MSI file.

c++ - Problem with ifstream::setbuf in VS2008 -

What changes are required to port "setbuf" in VS2005 to VS2008? For me to be able to create a project for VS 2008 from VS 2005. Below is the line of code that should be compiled in VS2008. std :: ifstream these; In.setbuf (FileBuffer, BUFFER_REGION_SIZE); When I compile the above code in VS2008, I see the error below. Error C2039: 'setbuf': 'std: : Basic_ifstream & lt; _Elem, _Traits & gt; Is not a member of; What should be done to compile it in VS 2008? Do you In.rdbuf () -> Pubsetbuf (FileBuffer, BUFFER_REGION_SIZE); ? View

Permissions problems for upload through php -

I am trying to store the attachment of email on my server via php's imap_ * function. I want to store the file name ($ c, string) with the filename ($ F) in the sub-directory under the name of the thread id ($ thread). M_attpath is giving a fixed constant signal to the base folder. if (! Is_dir (m_attpath. $ Thread)) {mkdir (m_attpath. $ Thread); }; $ Handle = fopen (m_attpath. $ Thread. '/'. $ F, 'w +'); FILIT ($ handle, $ c); Fclose ($ handle); But now I'm configuring with permissions to set attachements to go to viewable via a download. The main folder is m_attpath = 0777 Thread folder 0644 files are also themselves 0644 When I see files through my browser ends as a question mark browser 404 does not display the warning. In a FTP program I can see the size of the attachment. Something is wrong, but what can I not find out, can anyone help me with this? thanx If the M_path is a constant the code is incorrect. should be $ handle = fope...

How do I remove the -C parameter from cvs update in a Hudson build -

I can configure the parameters that use the Hudson CVS checkout and updates. It is a situation from which I modify the build properties file locally before closing Hudson Build though, because CVS updates contain '-C', it overwrites my local changes, do you know in a way Where can I remove it? Paul You are confusing me How can you change the build properties locally before kicking a build? If I need to do something like that, then I get the code from my SCM first and then change the change (such as changing the build properties) to run a script and start the actual creation process (usually by capturing the monkey or ent) CI The complete purpose of (which is used for Hudson) is to make a copyable manual step during a build usually copy reproduction Is not counted as submitted to qualify.

java - how to use finally -

I did not understand the use of the statement at all. Can anyone tell me what is the difference between: try {a; Block; Close; Statement; } Hold (exception e) {handles; exception; E } Finally {do}; some; cleanliness; } On the one hand: Try {a; Block; Close; Statement; } Hold (exception e) {handles; exception; E } Tax; some; cleanliness; Other They are different if Try -black is completed by throwing a java.lang.Throwable which is not java.lang.Exception For example, because it is a java.lang.Error as AssertionError or OutOfMemoryError . Try-block completes a sudden control flow statement like continue , break or return Use of any tedious, or control flow descriptions) More commonly, the Java language guarantees that the block is executed before the completion of the tentmember statement . (Note that if attempt-statement is not complete, then there is no guarantee about ultimately one statement can not be completed due to various reasons in...

python/win32: post a click event to a window? -

I want to simulate a mouse click on a window, but I want to post click directly to the window event (not a normal mouse click using by win32api.mouse_event simulation (win32con.MOUSEEVENTF_LEFTDOWN, 0, 0) ). What is the proper way to do this? I have tried the following, but there is no effect in this: DEF MacLong (low, high): low returns. (High & lt; & lt; 16) win32gui.PostMessage (window, win32con.WM_LBUTTONDOWN, win32con.MK_LBUTTON, MAKELONG (21,42)) time.sleep (0.05) win32gui.PostMessage (window, win32con.WM_LBUTTONUP, 0, MAKELONG (21, 42)) window is the right handle for the window In this case I was trying to activate the file menu. If window is the owner of the Window menu, The WM_LBUTTONDOWN window will not work for the customer area, and the menu area is non-customer. I have not tested this, but you might try posting WM_NCLBUTTONDOWN > Instead, HTMENU , and With mouse position Another option should be to use only GetSubMenu and TrackPopup...

events - Simplest way to extend Dashcode components? -

I am currently working on a project in Dashod, and how fast it is frustrating how in default classes Very little is the way of bindable events, like jQuery uses DashCode does not allow me to edit files, which I have to guess because they are a standard group of core classes until the project is exported. I am considering expanding classes like this, but I am unsure that the dashcode is related to a component for a class. Any idea is best done in some way? "Dashcode has not allowed me to edit the files," you do not specify which There are files but you may need to switch to the code explorer, the other dashcode will be returned and you will be rebuilt the code you change. You can see this kind of thing as a more comprehensive framework. There are several other frameworks too.

delphi - Drawing Text At An Angle -

I am writing VCL / Delphi application, and I need to draw text on the canvas object. I'm having trouble because I should have the text at a variable size and angle. Is there any easy way to do this? The TextOut method only takes the argument for the initial coordinates, so I do not know how it can attract rotated text. Thanks! If you are painting on a canvas, then canvas.font.Orientation . It takes an angle as an integer in the tenth of a degree (i.e., you pass 900 to 90 degree angle.)

Query the android Mediastore for Artist names of Music files -

I'm tearing about implementing it because content provider URI queries do not support SQL "DISTINCT" query method Returning the cursor to the artist of the song in Mediastore, removing any duplicate entries. I can ask and can get the cursor all the artists, or just do not show them. I have tried to use a matrix cursor to create a new cursor with cheat entries, but it is slow (create an array of artists, if do not copy it into the new matrix casserator , Etc.) Can someone recommend a better solution, or can I tell me in the right direction ?? I have also thought about pre-loading information in which I need an array of objects - I am just concerned about memory overhead in my application. Thank you for any help. The easiest way to get the list of all the art is T (and the album is the same method) of MediaStore To use Audio. Artists for search, for example, will find and show something like this: string [] proj = {MediaStore.Audio.Artists._ID, MediaSt...

FreeTTS hanging in ColdFusion 8 / Java -

I am trying to establish a text-to-speech interpreter to choose our captcha according to ADA. We are a coldfusion shop, and Ray Camden has already proved this concept last year. I am using my blog post here - - as a resource. Everything works great there ... except for the part where fretti should work. I found the following code: & lt; Cfset jardir = expandPath ("freetts-1.2.2-bin / freetts-1.2 / lib") /> & Lt; Cfset jars = [] / & gt; & Lt; Cfdirectory name = "jarList" directory = "# jardir #" /> & Lt; Cfloop query = "jarlist" & gt; & Lt; Cfset ArrayAppend (jar, zardir & amp; "/" and name) / & gt; & Lt; / Cfloop & gt; & Lt; Cfset loader = createObject ("component", "javaloader.javaLoader"). Init (jar) /> & Lt; Cfset voiceManager = loader.create ("com.sun.speech.freetts.VoiceManager") /> & Lt; Cfset vm = voiceManager.getInstance ()...

windows - Is it safe to recompile an executable while it's running? -

What if I recompile the execute executable? Does the operating system read all the executable content in memory when it starts running, will it ever read this new executable file? Or will the sections of this new executable file be read, which has not changed, perhaps leading to undefined behavior? What if I have a script running which repeatedly says executable in a loop, and I'm running the script, while executable. Is it a guarantee that the future execution of the loop will be new executable, and only because of the orientation that was in progress when the switch was made could be corrupted? My OS is Linux, I'm also curious about what happens on Windows. Since it is a traditional compiler, which writes an executable file, let's follow it in linux Are there. The first thing to know is that the Linux file name does not directly reference the file, but rather for a directory entry, which is independent of the filename. The file does not really need to have ...

javascript - Settimeout and setinterval memory usage -

Does anyone know memory usage and possible memory leaks with JavaScript functions setTimeout and setInterval ? Thank you. IE 7 (and possibly does) leaks Chrome is less likely but it is always possible to have a JS engine Complexes You can also make time and time of unknown numbers which can eat some memory.

iis 7 - URL Rewrite Module, Azure and web.config -

I'm trying to use URL rewrite module in Ezur but for some reason I do not add & lt can ; Web. Conflict's system. Reserves in websear section & gt; section (as shown). I have installed the URL RAVREAT module v2via Web Platform installer. I am using Visual Studio 2010 with the v4.0 framework and a standard ASP.NET workflow. Any help in this regard will be highly appreciated ... If you are employing on Microsoft Ezur platform, there is no need to install the rewrite module. Already installed on IIS7. If your visual studio does not allow the package to be published or generated, you can try to install the module on your dev machine. I again have your error on a Visual Studio 2010 Express, the only warning and I am able to generate the package, if you are working in another version, then you can try to upgrade Are there. No rewriting module installed on my PC.

vim - Convert file one word per line -

I would like to change a text file in which the word will be different from the place, where each word will appear on a different row sdf sdfsd = sdfsdf sdfsdf will be sdf sdfsd = sdfsdf sdfsdf Thanks Try it out: :% s / S \ + / \ r / g explained: :% // full file s // option \ s \ + // something Number + Thanks for considering @

c# - Store MS Word .doc in database and then get it out again -

I have this to store the word dock in SQL: byte [ ] Bytes = New Byte [Uploader. Uploaded file [0] Input stream. Length]; Var storedFile = new email_attachment (); String strFullPath = uploader. Uploaded file [0] .FileName; String strFileName = path GetFileName (strFullPath); StoredFile.email_attachment_id = Guide. Newguide (); StoredFile.emailer_id = New Guide (dropMailers.SelectedValue); StoredFile.file_name = strFileName; StoredFile.file_data = bytes; Db.email_attachments.InsertOnSubmit (storedFile); Db.SubmitChanges (); To get this back I use: storedFile = db.email_attachments.Where (a => a.email_attachment_id.ToString () = = Drop attachments, selected valleys). Single (); String strpath = System.Web.Hosting.HostingEnvironment.MapPath ("~ / storage / email / attachment"); File. WhiteElebites (Path.Combine (Streets, stored file.file_name), stored file.file_data. ToArray ()); System.IO.FileInfo file = new system.IO.FileInfo (Path.Combine (strPath, storedFile....

c# - Is slow progress normal when dealing with unfamiliar technology? -

I am currently working on some 3D animation using WPF. I am working on this project for about 60 to 70 hours (I can not use any external libraries, so I had to do with WPF-included facilities) and the one I have completed is: Move around in the viewport using WASD and animation Turn to search the camera I have not worked with WPF or 3D stuff before, but still I think I am extremely slow. As soon as I am working on my project, I can not ask my colleagues, even if they think that I am slow apart, it takes a long time to implement most of the tasks, I have to face a weird bug It takes a long time to solve me ... I know that this is a difficult question, but I'm disappointed with my slow progress. Any advice? The sooner you admit that you become better you will be back when I thought I There was a cowboy, so maybe I could rarely have my own projects completed.

sql - How do I find Stored Procedures with wrong text in syscomments -

appears in many stored procedures that were replaced with the name of sp_rename, leaving syscomments instead of the old proc name Can be new PR name. Thus, my DB transfers have failed to move correctly. Is there any way of launching a launch (or an object) to find out names outside of singular? Or better, an easy way to find and fix them? you can from object_name (id) to system Select WHERE COLID = 1 and OBJECTPROPERTY (id, 'isprocedure') = 1 and reflex (copy (text, CHAR (13), ''), CHAR (10), '') Like '%% PROC%' + Item_Name (+) + '%' and (Repeat (Copy (Text, Cher (13), ''), Cher (10), ''% CREATE% PROC% '+ Object_m +']% '). SYS.SQL_MODULES Probably can be a bit stronger, in which you have a comment of 4,000 characters B. Efore the PROC b . There is a more robust solution to parse the text, however, a script will be generated to run to restore all your stored procedures. SELECT 'EXEC sp_...

c# - Linq - Query a List<string[]> -

How do you make a list & lt; String []> gt; Matching and returning type on their sub-array System.Collections.Generic.IEnumerable & lt; String []> ? Edit: I have it: string [] report = file. ReadLine (@ ". \ .exports.txtile"). Entechnable (). Where (s => gt; s. StartsWith ("|.")) ToArray () ;. & Lt; String []> Mylist = new list & lt; String []> (); Foreach (string queue in report) {string [] rows = line.Split ('|'); Mylist.Add (rows); } and where to get me my index index [5] == "foo" For the original question: list.Where (arrays => any. (Item => item == match)) For an updated one: result = enumerative.Range (0, list.Count-1). Where (i = & gt; list [i] [5] == "foo"); You really need to see that there are at least 6 items in the array: i = & gt; List [I] Langs & gt; 5 & ​​amp; Amp; List [i] [5] == "afu"

nsthread - NSAutoreleasePool issues on the iPhone -

I have a small iPhone app that has a button on the first view when I select this button. I load new view in which it has an image. I currently allow the user to continue loading the image from an online source on an individual thread, using the following code, while controlling the application while: - (zero) loadImageTest {NSAutoreleasePool * pool = [[NSAUTOri Yarepul Alok] Init]; NSDRAEL * URL = [[NSUR AL Alok] Init]; Url = [NSURL URLWithString: logoPath]; NSDTA * data = [[NSDTTA alloc] INIT]; Data = [nsData datatystem content of URL: url]; LoadingImage = [UIImage imageWithData: data]; Title LogoImage.image = loadingImage; // [pool drain]; [Bridge release]; } This is called the init of the new view from this line of code: [NSThread detachNewThreadSelector: @selector (loadImageTest) toTarget: self withObject : Zero]; Now it works fine (ISH), but if I close the new view and then again in a quick succession (or in some cases after bus) once again If loaded, then with the...

web services - How should I handle authentication in my REST API? -

I am new to this, but I am trying to do what I am trying to do . I have a list of products and there are various personal information that my users want to be able to access through their website. For example: User-A has an e-commerce site and they want to sell my business. They will be able to access details of certain products through a web service. They will also be able to see the rate of conversation which I have given them with some other personal details. How will the API handle how to authenticate the request coming from a user's website? I am studying different certification methods all day, but they all roam to reach specific user information around the idea of ​​third parties. One example is if you want to use your Twitter profile. In that case, third-party sites have to manage several different users and authentication tokens. In our case, my user's website is talking to the user. I hope this makes sense. Users call A "Alice" because they ar...

caching - How do you change the associativity of the CPU cache? -

I want to collect L2 cache data for different cache partner settings. Can anyone tell me how can I change the assocoiativity? Ubuntu X86_64 Intel Core 2 Duo CPU This hardware design parameter is the best software for my best knowledge Can not reconfigure from. Usually, such a thing is optimized using hardware simulators software has been researched in configurable cache, but I have not made it in any general general purpose processor. -This or my architecture knowledge is old ...

php setting text -

I am working on a site in php basically I had a lot of html pages but they were all very similar , Which contained their title, an image and some text. I was able to integrate my pages into a php page and pass the title and image name as GET variable. I would not like to pass too many lessons in this way. What is the best way to do this? I was thinking of adding text to a text file but then I would have a text file for each item. I also thought that I could have a database and read text from there. What do you guys think? According to me, it is preferable that you use the database and simply pass the ID, You can divide your page into three sections. According to $ Head_get footer.php // footer section separate header section body.php / // header.php // thanks.

iphone - UIApplication sharedApplication - keyWindow is nil? -

I want to change a CGPoint to sync with my UIVU UI window and realize that UIApplication keyWindow is always is null; Why is it like this? I have tried to convert: toView: method in UIView Please see the template of a Xcode (View Application) in View Controller, to view this sample code: - (zero) viewDidoadload {[Super stuffed]; UIView * test = [[UIView alloc] initWithFrame: CGRectMake (40,40,250,250)]; [Test setback color: [UIColor redColor]]; [Self.view addSubview: test]; CGPoint p = CGPointMake (100, 100); CGPoint NP; NP = [Convert Points: P. toView: [[UIPP Application Shared Application] Keywindow]]; NSLog (@ "P:% @ NP:% @", NSSTINGFROMCCP (P), NSSTINGFROMCPNT (NP)); AppDelegate * appDel = (AppDelegate *) [UIApplication ShareApp] .delegate; NP = [Convert point: P toview: [app del window]]; NSLog (@ "P:% @ NP:% @", NSSTINGFROMCCP (P), NSSTINGFROMCPNT (NP)); NP = [Convert Points: P to View: Nile]; NSLog (@ "P:% @ NP:% @", NSSTINGFROMCCP (P),...

iPhone 4.0 build on iPad -

I am currently developing an app with the deployment target as the iPad 3.1 and base SDK 4.0. I am not specifically designing my app for the iPad, many people say that it will work on the iPad too. So please tell me whether it is right or not? If yes, what should be specified for iTunes for iTunes and iPad? Should we specify something special for the iPad? Yes, this will work, by specifying something special for the iPad, are not you sure during submitting Check the checkboxes you need to say that you've tested on the iPad. To test it yourself, use Simulator 3.2 (this will test it on the iPad simulator). Best wishes

Can I set the PIN for Bluetooth from my application in Android -

I wanted to make an application related to Bluetooth in Android. Is there any way by which I can set the PIN from my application in Android, which is in addition to using the system dialog box to enter the PIN. I checked for the Android-given API for Bluetooth, but I could not locate any API to set the key for Bluetooth provided in the WiFi manager Wificonfig.presharedkey = xyz. In advance thanks This is not possible Public API Why is it a bad idea , There are a few reasons for this: 1. Entering PIN is done with old Bluetooth devices (one or both devices with Bluetooth version 2.0 or less) 2. Using different mechanisms for pairing Bluetooth 2.1 and later The user will need to enter a PIN, this user will need to enter a PIN Show Kya / message and ask for the user's confirmation. So if your application is to be worked in all situations then it will be better to use the system provided by the system. (Which indicates the above for PIN / confirmation etc.)

.net - How do I make SqlServerCe accessible from my C# app? -

I was just playing with database in C # 2010 Express and 'system.Data.' The complete thing showed me the system as an alternative to the SQLSCECCEC. Not sure what I did, but when I created a new app and added 'line using system'. Data.SqlServerCe; 'I got a "SqlServerCe is not present" error I tried to add some references but still does not work. Actually, whatever I am trying to do is connect to any database, but I still do not I could find that all samples do not know me, I do not know. I'm trying to connect the connection string with the SqlConnection by setting it to what I can imagine, but I get the errors I installed the SQL Server compact version, and I think I have the SQL Server (normal version?) Please feel disappointed! I want that very, very simple. I want a data table, I do not care where or how I store it because there is only one program that will use it, it is my program, and able to do SQL queries on it. Actually I do not even need ...