Posts

Showing posts from March, 2011

bioinformatics - Error when trying to run blast locally -

I am trying to run BlastPoint locally using a multipart file using this command Siddhartha-MacBook-Air: ~ Siddhartha Blastap-DB Nr-Curi Trans_mod3 TT out result. Out-remote and I'm running against this error message: Critical: (110.6) CNCBrography: System-wide configuration Syntax Error in File: NCBI C ++ Exception: / Users / Koramec / Crele_Build /build/PrepareRelease_IntelMAC_JSID_01_62_130.14.18.6_9056__PrepareRelease_IntelMAC_1386704300/c++/compilers/unix/ ./../src/corelib/ncbireg.cpp ", line 630: error : Ncbi :: IRWRegistry :: x_Read () - Invalid registry entry format: 'user / siddha / explosion' (m_Pos = 2) Command line argument error: argument "query". The file is not accessible: `trans_mod3.txt ' I do not know what I'm doing wrong. The query file is properly formatted I am sure because I can use it as an input on the NCBI explosion P. The input file is a fast file that has around 200 views.

java - LibGDX 3d follow a object or point -

Image
I have trouble with rotation object in direction of direction. I need to rotate ModelInstance (the example code) Point or ModelIstance. But when I use a setToLookAt it always resets my conversion. Variables: Status of private vectors 3 ; Private Arrestist & lt; Vector 3 & gt; Path; Private int presentpaypoint id = 0; Private vector 3 direction = new vector 3 (); Private vector 3 TMPV2 = new vector 3 (), TMPV1 = new vector 3 (); Speed ​​of private float; Update method: Public Zune update (Float Delta) {if (path! = Null) {transform.getTranslation (tmpV2); TmpV1 = PathGet (currentVKIID). Cpy (); If (tmpV1.dst (tmpV2) & lt; 2) {currentWaypointId ++; If (currentWaypointId> = path.size ()) currentWaypointId = 0; TmpV1 = PathGet (currentVKIID). Cpy (); } Direction = (tmpV1) .sub (tmpV2) .nor (); Transform.translate (direction.scl (speed * delta)); }} for the answer Thanks

javascript - ngBindHtml doesn't work with ngSanitize -

I'm a newbie on Angular.js so I know this is a very basic question but here's the place to get the answer only Looks like Angular.js for questions ; Doctype html & gt; & Lt; Html ng-app = "example" & gt; & Lt; Top & gt; & Lt; Script src = "angular.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "angular.sanitize.min.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; Var example = angular Modules ("Examples", ['NGSanatijk']); Example.controller ("exampleCtrl", function ($ scope) {$ scope.appTitle = "& lt; b & gt; example glass app ";}); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body ng-controller = "exampleCtrl" & gt; & Lt; H1ng-bind-html = "appTitle" & gt; & Lt; / H1> & Lt; / Body & gt; & Lt; / Html & gt; I follow the book of Rodrigo Branas (Fingerston...

report - How to use pto_header in RML? -

I did a report that was doing the right thing, but I realized that when there are many pages, headers and footers Only showing in the first page. So I changed the & lt; Pto & gt; , & lt; Pto_header & gt; and & lt; Started using pto_trailer & gt; . But they are not working as expected, for example, when I only use pto_header : & lt; Story & gt; & Lt; Pto & gt; & Lt; Pto_header & gt; & Lt; Paragraph style = "p1" & gt; & Lt; Font color = "white" & gt; & Lt; / Font & gt; & Lt; / Paragraph & gt; & Lt; BlockTable colWidths = "480.0" style = "Table 1" & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; Paragraph style = "header_td" & gt; My column & lt; / Paragraph & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / BlockTable & gt; & Lt; / Pto_header & gt; & Lt; BlockTable colWidths = ...

Getting logon error in Cognos bi 10.2 while running it -

Hi, I'm new to Cognos and I'm using the trial version of Sinoos (bi_dev_trial_ed_10.2.1_win_en) and I'm getting this error while running. Error: QE-DEF-0325 failed logon for the following reason: RQP-DEF-0068 Unable to connect to at least one database during a database 1 Attached in database (s): Great_outdoors_warehouse If you are working with Oracle then the problem may be that TNS_ADMIN The variable was not setup in the environment. Set TNS_ADMIN in your Windows environment variable, in the path of your tnsnames.ora file and then restart the server. Example: TNS_ADMIN: In Windows, right-click on 'My Computer' icon and select. I / O 'properties'. Click on the 'Advanced' tab. Click on 'Environment Variables'. / P> Under the 'System Variables' pane, search for the TNS_ADMIN environment variable. Click 'edit' and modify TNS_ADMIN to include the correct path for the Tnsnames.ora file and click on ...

scikit learn - Coefficients from multinomial logistic regression in sklearn -

मैं एक बहु-स्तरीय समस्या पर sklearn.linear_model.LogisticRegression चला रहा हूँ। मैं जो समझता हूं, प्रत्येक वर्ग के प्रत्येक सुविधा के लिए coef _ विशेषता का गुणांक गुणांक है मुझे जो समझ में नहीं आता है वह स्केलैर्न में व्याख्या है। उदाहरण के लिए, एसपीएसएस में आपको एक वर्ग को आधार के रूप में होगा और उसके बाद उस वर्ग के संबंध में बाधाओं का व्याख्या करना होगा, इसलिए आप वास्तव में एन -1 क्लास के गुणांक प्राप्त करेंगे। यह स्केलैन में ऐसा मामला नहीं है, जहां मैं प्रत्येक कक्षा के लिए गुणांक प्राप्त करता हूं। एक विशेषता (चार वर्गों के लिए) के लिए एक्सपोनेंटिएटेड गुणांक उदाहरण हैं: 1.164 9 | 1.0660 | 0.9589 | 0.8607 क्या यह व्याख्या सही है: इस विशेषता के लिए एक यूनिट मूल्य में वृद्धि के साथ उस उदाहरण की संभावना को प्रथम श्रेणी में बढ़कर 16% बढ़ जाती है, फिर द्वितीय श्रेणी में ~ 7% तक और तीसरे के लिए घट जाती है और चौथी कक्षाएं? इसके अलावा, मैं गुणांक के लिए पी-वेल की गणना कैसे कर सकता हूं?

read array of objects from a json loop angularjs -

मेरे पास एक वस्तु है, जैसा कि निम्न है: var obj = {{name: 'John ',' हांगकांग प्राइवेट लिमिटेड ', कंपनी:' 'रवी', 'कभी नहीं' '}, {नाम:' देव ', पता:' चीन ', कंपनी:' हांगकांग प्राइवेट लि। ' चीन प्राइवेट लिमिटेड ', रोजगार: [' वाँग ',' कांग ',' ली ']}} मैं निम्नलिखित तरीके से ऑब्जेक्ट तक पहुंच रहा हूं, लेकिन मैं कैसे इन तक पहुंच सकता हूं सरणीएं लूप में। & lt; div ng-repeat = "o in obj" & gt; & Lt; p & gt; {{o.name}} & lt; / p & gt; & Lt; p ng- दोहराने = "e.employees में ई" & gt; & LT; अवधि & gt; {{ई}} के & lt; / span & gt; & Lt; / p & gt; & Lt; / div & gt; इस तरह मैं जेड में कर रहा हूं लेकिन मुझे लगता है कि कोणीय इसे पहचान नहीं सकता। सरणी के माध्यम से मैं कैसे लूप कर सकता हूं? इसे आज़माएं: अपने नियंत्रक के अंदर: $ scope.obj = [['' नाम ':' जॉन ',' पता ':' हांगकांग ...

mongoid3 - Create Tag Cloud with Mongoid Taggable Gem -

I want to create a tag cloud like you can do with a work-by-tagable gem, this is an example Is a work-by-tagmable readmeck from: & lt;% tag_cloud (@ tags,% w (css1 css2 css3 css4)). Tag, css_class | & Gt%; & Lt;% = link_to tag name, {: action = & gt; : Tag, id = & gt; Tag.name} ,: class = & gt; Css_class% & gt; & Lt;% end% & gt; Using a different method with tagging, the mongoid_taggable gem, tags_with_weight that gives an array of tags and is used many times but I do not know how it repeats the cloud based on this information.

Proper way to access usersinfo using mongodb driver for .net/c# -

When I write this line of code (using the C # mangodb driver): var mongoDB = ... var results = Mongo DBFundUser ("Context"); I get a warning that I should use the "user management command" userinfo "but I can not find an example of doing this. Use the exclusion orders for now, but I want to know the correct way to do this. You use MongoDatabase's RunCommand method and document user documentation commands here.

perl in place edit replace multiple values same time -

All I am trying to search and replacing on file. The code below does not work What am I doing wrong? Please help $ file = "/ tmp / file"; My $ date = qx / date + '% Y% m% d-% H% M% S' /; @accounts = qw ($ account1 $ account2 $ account3 $ account4); @rrgv = ($ file); $ ^ I = ". $ Date"; While (my $ line = & lt; & gt;) {for my $ account (@accounts) {if ($ line = ~ / ^ $ account /) {.. qw () word excerpt, this variable Does not launch. @accounts = qw ($ account1 $ account2 $ account3 $ account4); is equal to @accounts = ('$ account1', '$ account2', '$ account3', '$ account4'); Note a single quote! Instead, use @accounts = ($ account1, $ account2, $ account3, $) account4); BTW, instead of calling to call, you can use it: Use time :: piece; My $ lt = local time; My $ date = add '-', $ lt- & gt; Ymd (q ()), $ lt- & gt; HMS (q ());

ruby on rails - Getting information from the join table in a has many through query -

Imagine 3 models: users, clubs and userclub. class user & lt; ActiveRecord :: Base is_Maney: Club, via :: UserColob is_Im: User_Clus & Class Club & lt; ActiveRecord :: Base is has_many: Users, through: user_clubs have_many: user_clubs and class UserClub & lt; ActiveRecord :: Base is_to: related to user: Club End Contains very specific table contents. Now, imagine a situation where you want to retrieve a user's club and the amount of users present in each club. In one controller, it is easy to regain a user club: DIF index @ club = current_user Although puzzle I do not know how to do it efficiently. Of course, I can do something like this: DIF index @ club = current_user.club @no_off_users_on_club = hash.new (0) @ club.each up! Club | @no_of_users_per_club [club.id] = UserClub.where (club_id: club.id). Point end # Whatever you will do after the end Is there a better way to do this? This will be a child unnecessary, but ultimately, perhap...

java - Hide Labels from JFree Spider Chart -

I am trying to hide all the labels on my Spider Chart using the Jeff Library. I lead to believe that the following line will work, but I am getting an error while adding it. webPlot.setLabelGenerator (null); My code: Private static JFreeChart createSpiderChart (DefaultCategoryDataset Dataset) {Spider webpage webplot = new SpiderWobot (dataset); Font label font = new font ("arial", font. Ba, 10); CategoryToolTipGenerator Tooltip Generator = New StandardCategoryToolTipGenerator (); Tooltip Generator.generateToolTip (Dataset, 1, 0); Color back_color = new color (255,255,255,0); WebPlot.setOutlineVisible (false); WebPlot.setLabelFont (labelFont); WebPlot.setSeriesPaint (0, java.awt.Color.decode ("# 000000")); WebPlot.setSeriesPaint (1, java.awt.Color.decode ("# 209ad4")); WebPlot.setBackgroundPaint (back_color); WebPlot.setLabelGenerator (zero); / ** This is an error ** / JFreeChart charts = new JFreeChart ("", blank / * JFreeChart.DEF...

Displaying multiple plots in Matlab figures -

I want to draw 2 figures and assign them as suva1.fig and suva2 I want to save. Respectively figs . The first figure has 5 identical lines and the second number has four identical lines. The following is my code but I can not get the desired plots. Please edit the code to get the desired result. all CLC x1 = [1: 1: 50]; Y1 = [1: 1: 50]; X2 = [1: 2: 100]; Y2 = [1: 2: 100]; For I = 1: 2 if the (i == 1) j = 1: 5 h = the shape plot for the shape plot (x1, y1, 'o'), end (h, 'suva1', 'fig) I = = 2) Jammu = 1: 4h = Figure plot (x2, y2, 'o') and service (h, 'suva 2', 'fig) and end With your code, it does not appear that you are trying to display several plots in a single shape. Besides, I'm not sure why you put loops for (j = 1: 5) To plot multiple lines on the same plot, use the grip on the command: h = figure plot (x1, y1, 'o'); Wait; Plot (x2, y2, 'k'); Hold down; To use subplots: h = shape; Subplot (2,1,...

Change color of dgrid3d surface in Gnuplot -

Is there a way to change the color of the surface lines when using dgrid3d? It looks a lot easier, but the thing I've seen speaks of coloring the whole surface using PM3d only. I have several surfaces on a plot and want to be able to specify the color of each. For example, one would be red, the second would be blue, the second would be black, the other would be green If there is data available in the data data then give it a try: set dgrid3d set 10,10 set style data line pm3d splot "Data.dat" pal dgrid3d gnuplot returns the style data line with the results of lines instead of the Gnupllot points, which gives X- And are in the Y-direction (these are both commas pm3d fills the surface with one color (you will see just the line if you leave it). pal You can determine that there are too many options, but I have the most Are relevant.

database - Does this qualify as a partial dependency? -

With the non-prime attribute, the proper set of candidate key determines non-prime, whether it is partial dependency or 2 in NF ? Kind of {AB} then BD -> C Thus you are partial Define Dependency: For example, you have a relation R with column a. B C. D . Based on the functional reliability defined by the business, the AB has been designated as the primary key (the candidate key) and the B -> D FD is present. In that case, though AB is PK; But the non-key column D is specifically identified only by the B (part of the key combination) and not the whole key structure AB . Then, D here is partly dependent on the main column and thus holding partial functional dependency which is 2NF Is against. In your case, CK AB is not specifically identifying all areas; C is partly based on b ; In addition, C is based on non-key column D . Therefore, it has PFD (partial functional dependency) and definitely not in 2 NF.

c++ - Class pointer to diffrent .h file -

Hello people, I need your help in working. Therefore, I have the first files and the second is the student and I I want to get the function call, but unfortunately it is not running very well. My receipts do not pass the "Course ** Course" collection and I do not know why not. Course course My course .h file ex> #ifndef _CORSE_H # defined _CORSE_H #include & lt; Iostream & gt; #include "Student.h" class {public: zero init (std :: string getName, int test1, int test2, int exam); Std :: string getName (); Int * getGrades (); Double found phengal (); Private: std :: string _name; Int _exam; Int _test1; Int _test2; }; #endif My student .h file - #ifndef _STUDENT_H #define _STUDENT_H #include & lt; Iostream & gt; #include "Course.h" class student {public: zero init (std :: string name, course ** course, int crsCount); Std :: string getName (); Zero setname (standard :: string name); Double getAvg (); Int getCrsCount (); Cour...

security - Concurrent user Login in spring mvc -

I currently have a problem implementing concurrent user sessions in Spring MVC. My requirement is that "I have a web application that uses Spring MVC, and I have my own entry form and I have not implemented spring protection yet (meaning that I have my web application No role-based user restriction is configured in). Only one user with the same username to log in from a machine. My requirement: One user per session I have surfed, but no useful links or project There is no role-based restriction Once your own login form and user is logged in, the user object (containing the username is password) is stored in the session object If user logs a second time If the user tries, the previous user session should be terminated and new users (other users) should be allowed on the home page. Can a Solution, Link or Example Project Provide? Many thanks in advance :) Why not just go ahead and use spring protection? This will take care of passive sessions for you, you can u...

linux - How to catch standard errors from expect script -

निम्न अपेक्षा स्क्रिप्ट दूरस्थ मशीन पर फ़ाइल / var / tmp / फ़ाइल को निकाल देगा लेकिन इससे पहले कि अपेक्षा स्क्रिप्ट रिमोट मशीन पर एसएसएच करता है, मैंने एसएसए से त्रुटि पकड़ने के लिए 2> gt; 2 / gt; / p> डाल दिया लेकिन मैं नोटिस कि रिमोट प्रेषण त्रुटि के बावजूद, मैं / tmp / errors फ़ाइल से त्रुटियों को नहीं देख रहा हूं, लेकिन जब मैंने मैन्युअल का प्रयास किया तो एसएसएच $ लॉगिन @ $ मशीन फिर पर असफल चेतावनी: रिमोट होस्टिंग पहचान बदल गई है लेकिन उम्मीद से मैं नहीं कर सकता इन त्रुटियों को / tmp / erros में समझें कृपया क्या गलत है? क्यों 2 & gt; / tmp / त्रुटियां त्रुटियों पर कब्जा नहीं करते? expect_test = `बिल्ली & lt; & lt; ईओएफ सेट टाइमआउट 50 स्पॉन एसएसएच $ $ @ $ मशीन 2 & gt; / tmp / त्रुटियों की अपेक्षा {")?" {"हाँ \ r" भेजें; Exp_continue} शब्द: {नींद 1; $ PASSORD भेजें \ r}} उम्मीद & gt; {"नींद 1 \ r"} की अपेक्षा करें & gt; {"Rm -f / var / tmp / file \ r"} अपेक्षा करें & gt; {Exit...

xml - PHP - wrong switch / case statement -

I am using simple PHP scripts that crashes on data based on data from XML. So what does this: Keep the image with the crash of the site (its div square in the outer), and then I just check the XML and if the value should be displayed on the "Y" & lt; Div class = "front" & gt; Instead someone can tell me instead is the problem that I can not ever display the "front" image What happened to me? $ first_damage_zone = true; / / Loop through the area of ​​damage; Key value resonates in pairs & lt; Div class = "outer" & gt; '; // If an empty car image is foreign currency ($ claim = '$' = '' y '' as 'claim' ['normal']] {if ($ ($ value) First_damage_zone) {} switch ($ key) {case 'roof': @ $ k = $ _VIN_QUERY_DAMAGED_ZONES_ROOF; Echo & lt; Div class = "roof" & gt; & Lt; / Div & gt; '; break; Case 'Underbrain': @ $ k = $ _VIN_QUERY_DAMAGED_ZON...

pascalscript - How to check if an object is NULL in Inno Setup Pascal Script? -

I am writing a Pascal function using these setup studios which is an object blank and does something I still have: XMLDocument.setProperty ('select language', 'XPath'); XMLNode: = XMLDocument.selectSingleNode (AEP); If (XMLNode = null) starts then // do stout and end // other stuff but I keep getting the invalid version operation error. How do I check whether the object is empty in the Inno Setup Pascal script code? if any variant is null Use: If VarIsNull (XMLNode) then However, in your case, the problem is a bit more complicated. The method always gives a type of type whose real data pointer is not a node found in the case of an XML dome node, or zero . In Delphi (the language in which the INA setup Pascal script has been written) is such a ceremony that includes such a situation. Unfortunately, this is not published in the setup. You can however, test this matter with a statement like this. : If (IDPatch (XMLNode) = zero) then th...

mysql - SQLSTATE[HY000]: General error: 1030 -

I am making a website with Drupal 7 on my localhost. Today I got a well-known error that my cache_regals had disappeared. I tried to restore it, it seems that has worked, because I am now seeing the table in my database, PHPMyadmin said after the query that 'the result returned' is that correct. I used this code to restore it: if not, then 'XX_cache_rules` (`cid` varchar (255) no tap default' 'comment 'Primary key: Unique cache id.', `Data` longblob COMMENT 'A collection of data to cache.', 'Expire' int (11) Not less than '0' COMMENT 'A UNIX timestamp indicating that When should the cash entry be a Unix timestamp indicated during the creation of the Carry Entry. The 'primary' key (`CID`), key 'termination' (` termination ')) engine = InnoDB DEFAULT CHARSET = utf8 COMMENT = 'The table for the rule engine to store the cache configured items. '; It came: But when I try to clear my cache now, ...

sql server - SQL left outer join with nested select optimisation -

I ask SQL Server 2012. I have left external connectors on a big result set, which looks like the following: Add data left otters (Member ID, Mid (date) Members from the members of the table of the member) data on t. Member ID = T. Member ID Where the data is already a large query (thousands of rows come back). My question is, is this nested selection query evaluated for the member ID present in "Data" only? It seems that the sproc is quite slow down quite a lot, is there another standard way to do this? No, should this be expected? If you want the first line for something, do this: seqnum as and then use: where seqnum = 1

node.js - Yodlee addSiteAccount1 failing to register accounts with "Exception Occurred" message -

I am trying to get the addSiteAccount1 API endpoint which I am sending it to. According to I have defined the structure below. The first structure I tried to use an array for the current credentials field object, but I could not set the "attached type" of the credentialFields array ... so that an object with the number keys Was wiped out in favor. {"cobSessionToken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "User Session Tutorial": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "Site ID": 4252, "CredentialFilld": {"0": {"displayName": "" ":" "": "Security name": "Login", "ValueMask": "Name": "Customer ID (Dobmewy after a specific number"), "field type": {"typeName": "IF_LOGIN"}, "name" , "Field type": {"typeName": "login", ...

javascript - How do you loop backwards through the months starting with the current one? -

I am using javascript, am trying to fill a barchart. The last line on the chart is the current month (November 2014 at the time of writing, or 10 if you use the date of javascript). GetMonth () method). It starts counting when using getMonth () in the next month (December 2013, or 11) of last year My question: 12 months through the time starting from 11 months before the present time What is the most effective way of loop? My favorite output will be: December 2014 February 2014 ... November 2014 You can use for loop and by the current date Decrease months. As shown below: var dateObj = New Date (); Var dateStrings = []; Var dateFormatOptions = {Month: 'Long', Year: 'Numerical'}; {DateStrings.unshift (dateObj.toLocaleString ('en-US', dateFormatOptions) for (Var i = 0; i & lt; 12; ++ i); DateObj.setMonth (dateObj.getMonth () - 1); } Document.getElementById ("Output"). InnerHTML = dateStrings.join ("\ n"); ...

c# - Windows store app, Service Reference -

Image
In a window store app, I have a service reference that looks like something this is xaml the wsdl: and generate Referece.cs file ... [Sistmkdaygnostikskdebuggerstepthroughttribute ()] [Sistmkkodedomkkmpailrkgenertedcodttrybute ( "Sistmksrvismodel", "4.0.0.0")] Public partial class WSDocuShareJoinWirelessClient: System.ServiceModel.ClientBase & lt; XxxServiceReference.IWSDocuShareShareJoinWireless & gt; xxx.ServiceReference.IWSDocuShareJoinWireless {public WSDocuShareJoinWirelessClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddressRemoteAddress): base (binding, remote address) {} ... I want to know who he binding parameters which should be used for I do it private WSDoc UShareJoinWirelessClient client = new WSDocuShareJoinWirelessClient (binding, Rimotadres); I noticed that I do receive 2 warnings

osx - How to retrieve the location of an item in the Resources folder of an OS X application bundle, in Qt -

I need to obtain the application directory or executable path. I've found that QString appPath = QCoreApplication :: applicationDirPath (); There will be a way to do this. But when I run, I get an error: QCoreApplication :: applicationDirPath: If I run the Quark application I try to make an example, though I am creating errors ... Error: No matching function: Using QApplication instead of QCoreApplication, I get a similar error. This call is not created by the main () which is an application type class instantly ... it is very far from a config class. How is this done? Qt 4.8 Note: What I'm trying to get is the actual app directory (for Mac, I will use it to create a full path for content / resources ). The relative path was not used (when I used to print the path before the relative path part, and failed to load the file I tried to load) @ / myapplication.app/Contents/Resources/myfile path / myapplication.app / content / resource / Myf...

sql - Identifying Unique Visits by Customer -

I am working in SQL Server and I have a table of custom ID, visitor, sales and quantity. I am trying to calculate, so how much does the customer buy on his first repeat purchase, second repeat purchase etc. Apart from this, how much time passes between each purchase. Any guidance will be helpful, thanks! You Row_number () and conditional integration. Here is an example: select average, average (sales) as avgales, in case of maximum (case when segnum = 1 sales end) sales_01, maximum (in case when segnum = 2 sales end) as sale_02, max (in case of segnum from the table) by salesdesign (by salesdesign) by salesd3 (select t. *, Row_number () by the visitdate) T group; By the way, your question should include sample data, the desired result and table layout,

python - How can I format data like this? -

This summary is not available. Please click here to view the post.

c++ - AutoUpdate.dll & AutoUpdate.lib -

I am trying to compile a program that I am not familiar with using VS 2013 Express Edition. On compile, it says that "FXress H" can not open the file. Some people told me that it can be decided that with windows on FXS's place. tried it. However, it seems that another linking error has arisen. It says that the input file can not open 'AutoUpdate.lib'. AutoUpdate.lib can not be found in your computer, but instead, I have automatically added the updated Update DLL to the solution. Still struggling to solve this problem, does anyone help me compile this program? Thank you for this really will be appreciated.

php - Need help using explode, preg_match -

I have more than a thousand reviews in the string I have been asked to see if I have average rate I can get it. Below is an example of the string I have highlighted the content that I need to extract into an array. Shepherd's Bush Empire (Times P 54 - 4 * David Sinclair ) Grizzly Bear - Sepencten Session, Hyde Park, London (Independent Proposal p17 - 4 * Elsa Brew - London (Independent Videotape p17 Tony Bennett - Albert Hall, London (Times) P 68 - 4 * Clive Davis , Standard P40 - 5 * Jack Marshal Or any letter on * is to blast the string, go back one character and proceed to the words. I know that there are obstacles but they are removed later Can P> Find a number after a star, then a word preg _match_all ("/ \ d \ *? \ W *? \ W * /", $ input_lines, $ Output_array); And here is an example link Show your output array like this Will Array ([0] = & gt; Array [0] = & gt; 4 * David Sinclair [1] = & gt; 4 * Elisa Bray [2] = &...

html - how to format web page content loaded from javascript? -

I have a webpage that displays a web form whose source is Javascript By default it Keeps this screen in the top left corner of the screen. How to the horizontal and vertical center on the screen? I am confused because block & lt; Script & gt; In the section & lt; Body & gt; Instead of . This form is generated by my email marketing service provider, and I do not have access to the code. The complete HTML file is: & lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Script type = "text / javascript" src = "https: // app ...." & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; / Body & gt; & Lt; / Html & gt; Without realizing what your javascript is doing, it is difficult to answer Although normalized is the answer to your problem using CSS, you can do this in the top section of your HTML document that & lt; Style & gt;...

Using 127.0.0.1 fails when connecting to MySQL while using IP succeeds using VB.net -

When I am trying to connect to MySQL using 127.0.0.1, using vb.net The following error message is found: User's 'Test' @ 'localhost' entry denied (using password: yes) " " User 'test' for user 'test' To use 'mysql_native_password', authentication '127.0.0.1'> However, when I replace 127.0.0.1 with IP address for the same machine, then Nekshn perfectly fine. So to solve this problem, what settings need to be changed so that I can use 127.0.0.1? Thanks in advance. Each user is related to an IP, and permission is only possible to connect to this one User 'Test' is allowed to connect to 'IP'. And 'IP' does not necessarily translate '127.0.0.1', though this is the same machine. For example, add the mysql command line (or similar to phpmyadmin): User 'test'@'127.0.0.1' was identified by 'your_password' ;

Is it okay to have one table for storing images against multiple tables - SQL Server 2008 R2 -

Is there a table to store images against multiple tables? Or is it better for three different tables? There may only be two images in the office. Schema Inspector - InspectorX (PK), Inspector's Name Office - OfficeID (PK), OfficeName Employee - StaffID (PK), Staff name New Photos table (collecting images in binary form for different tables) Photos - Photo ID (PK) , PhotoData, InspectorAD (FK), OfficeID (FK), Staff ID (FK) New Schema Inspector - Inspectorector (PK), Inspector's Name, Photo ID (FK) or Photo IDI (FK) , Photo IDO (FK) Office - OfficeID (PK), OfficeName, Photo ID (FK) Code> - Staff ID (PK), StaffName, Photo ID (FK) this is ok But you do not need FK in both the photo table and the other tables. Just put the PhotoID FK in the other three tables. If you are worried about the second picture only for the offices, then a second photographed in the office table It's OK to add an FK If you wan...

javascript - How to cancel ajax request using Jquery.Unobtrusive.Ajax? -

मैं अजाक्स का उपयोग कर रहा हूं। एक्शनलिंक इस तरह @ Ajax.ActionLink ("link टेक्स्ट "," एक्शन ", नया अजाक्स ऑप्शन () {ऑनबैनिज =" टेस्ट () "}) मैं परिणाम के आधार पर लिंक के एजेक्स कॉल को रद्द करने में सक्षम होना चाहता हूं मेरी परीक्षा () फ़ंक्शन जावास्क्रिप्ट में है, जैसे फ़ंक्शन परीक्षण () {if (condition) {// एजेक्स अनुरोध को निष्पादित करें; } अन्य {// रद्द करें एजेक्स अनुरोध वापसी झूठी; }} मैंने ट्यूटोरियल को दिखाया है कि यह संभव है, लेकिन मैं इसे किसी भी तरह से काम नहीं कर सकता। क्या कोई मेरी मदद कर सकता है? धन्यवाद! बदलें ऑनबेइन = "परीक्षण ()" से ऑनबैज = "रिटर्न टेस्ट ()"

Telerik Kendo UI Grid: Allow grouping of any one column at a time -

The question is specific to the MVC grid control how to restrict the grouping of two or more columns in the cando grid? The user should be able to drag and group any column, but not multiple columns. Bind this function to the DataBound Grid Event: at Datatong Function (var) = var = es.sender.dataSource.group (); If (gr.length & gt; 1) {gr.shift (); E.sender.dataSource.fetch (); }} Greetings.

Haskell new line character -

I need to compare windows new line character ('\ r \ n') but I literal error in character / character on character '\\' ['\ r \ n'] How can I fix this? Thank you! The compiler is telling you that '\ r \ n' is not A valid character should not be surprising because Windows uses two characters to indicate the end of a line, this means that you need the string : "\ r \ n" This also means that you will need more complex analysis while conducting input analysis. One way to solve is to remove all the '\ r' characters with a simple filter, finding a sequence of two characters is a little more difficult. Can be applied to each string in which "\ r \ n" : deMicrosoftifyString = filter (/ = '\ r`) Maybe

java - Replacing a class file inside a folder in a jar file -

I have a jar file in C: \ (xx.jar). I need to change a class file (path: com \ sample \ folder \ xfile.class) inside xx.jar with a square file (yfile.class) that is C:. Please help me command to change a class file in jar with another class file out of jars I point to the directory structure. I tried, jar uf c: \ xx.jar C: \ yfile.class The above command creates a new folder C: \ xx In .jar and yfile.class comes inside C. But I want to put the file inside xx.jar inside com.ample.folder Please help please thank in advance! You really can not have jars to actually package a ready folder. I think this is the reason that with Mare, etc. everything creates a build folder that ends in jar / war / ear file. jar uf C: \ xx.jar C: \ Yfile.class Really adding the file to the archive Some-C can use the instructions, but it's about it. Let's say that you have a dior in myfile.class C: \ classes and you can call it jar from the folder jar uf c: \ xx.jar -C .. cla...

playframework - Play framework production reverse routing -

I am trying to set up my play project so that some routes will not be shown in production for development purposes I have difficulty in reverse routing. Here are my root files, simplified: route (development) received / controller. application . Index () GET / Bar Controller Foo.bar () output.rout get / controller Application.index () In home.scala.html, I have something like this: @if (play.lay.application (). Configuration (). GetString ("Application .mode")! = "Production") {& lt; A href = "@ routes.Foo.bar" & gt; This link does not appear in the production & lt; / A & gt; } When running the project in production mode, the file will not be compiled because this path can not be found: The value is not a Foo object controllers. Member of Route Any ideas on how to deal with this problem? You have to be the only way to output, the path file has been compiled, a check in the controller Use if you do not wa...

angularjs - Using $stateParams on a root (parent) controller? -

I have been using the AngularJS w / UI-router for the last two months and I am running in the same case Which I can not seem to find a beautiful solution for ... I have a step-by-step web planner application that the user should walk through to complete a command. I have a root controller that remains out of the Ui-router scope (there is no 'state' for the root controller) where I'm trying to keep some web which is in my webplanner This information is global on every page, like the customer information and order name, which is displayed above and below the planner in the entire process. My problem is to get this data into an angular service so that in order for it to be shared between my controllers, I need order order of which we talk about are doing. This order id is present in the IRL $ Stat Parameras, but the problem is that before joining the UI-Router, my 'Root' Controller Institution becomes, which means that I have to enter $ $ from within the contro...

css - How to resize a silverlight object? -

I am trying to make Silverlight objects accountable in browser size changes. I tried to provide an object with an ID in CSS, and I also changed the width and height values ​​for both auto and % . The documentation is unclear, but says that it is allowed, so I wonder why does not it work? & lt; Div id = "silverlightcontrolhost" & gt; & Lt; Object Data = "Data: App / X-Silverlight-2," Type = "App / X-Relilt-2" width = "980 pixels" height = "500px" & gt; & Lt; Ultimate Name = "Source" Value = "Smooth Streaming Player. Expose" /> & Lt; Param name = "onError" value = "onSilverlight error" /> & Lt; Param name = "background" value = "white" /> & Lt; Param name = "minRuntimeVersion" value = "4.0.50401.0" /> & Lt; Param name = "InitParams" value = "selectedcaptionstream = textstream_eng, mediaurl...

javascript - Express and SSL usage -

After purchasing a Comodo SSL certificate to create an SSL server with itemprop = "text"> I expressed after AddTrustExternalCARoot.crt COMODORSAAddTrustCA.crt COMODORSADomainValidationSecureServerCA.crt mysite.com.key lot of documents in accordance with mysite.com.csr mysite_com.crt me require .pem files I but there is no telling what that Kpem files var options = {key: fs.readFileSync ( '/ key .pem '), cert: fs.readFileSync (' / cert.pem '), Ca: fs.readFileSync (' / ca.pem ')}; It would be great if there is a tutorial. Try PEM is just a format other than SSL formats, and it is very common. Comodo can already have provided the .pem file on you, but just this .crt. Or you may have the name of a DER formatted file named in place to be able to request a .pem file. Or, you can use OpenSSL to convert from one format to another format openssl RSA -inform DER -outform PEM-in mysite.com.key out mysite. com.key.pem openssl X509...

Xamarin Support Library v7 AppCompat 21.0.0-beta1 -

I am trying to use the latest Xamarin support library v7 AppCompat 21.0.0-beta1 in my project. I am getting the following error. Examiner / Android. Support.v7.AppCompat / 21.0.0-appcompat-v7 / embedded /./res/values-v11 / values.xml: 43: Error: Error: No Resource Found Name matches given: attr 'android: actionModeShareDrawable'. This is similar to the problem on the following thread, but it is related to xamarin envrionment. Any ideas will be appreciated. You should override and set your target level to v21. To do this, you need to run Xamarin alpha channel.

agile - software methodology used in project -

Currently I'm working on porting a benchmark application to another system. I am working alone, so I am frustrated that I want to use which software method please give me some ideas. I am going to think that you are thinking about what kind of playful approach Continuously and regularly distribute software that is working paying attention to technical excellence and avoiding technical loans We work and improve the way to go back in the regular way Whatever I use, even for software development I also say my own attitude, if you can check those three items from the list, then you are very agile for me. Some people need strict guidelines and artwork and they are okay, they Help to become playful, but despite being out there, it is necessary to stay away from being compulsory. Here's how I will see your situation. Take a step back and try to identify the most important features or capabilities of this benchmarking app. Most importantly, I mean those featu...

zend framework2 - ZF2 Nesting Views in View Helper -

I am trying to create a ZF2 view assistant who posts different blogs of the display formats. Post made of header, body and footer. I have tried to create an assistant to see using the nesting example. // Post Assistant Public Function __Inoc (PostInterface $ post, $ is_single = true) {$ view_model = New ViewModel (); $ View_model- & gt; Setmetlet ('editorial / partial / complete'); $ View_model- & gt; Set variables ('object', $ post); $ View_model- & gt; Set Variable ('is_single' is $ is_single); $ Body_model = New ViewModel (); $ Body_model- & gt; Setmetlet ('editorial / partial / xx_display_format_partial_xx'); $ Body_model- & gt; Set variables ('object', $ post); $ View_model- & gt; Add Chald ($ body_model, 'body'); ... to repeat for header and footer $ the-> getView () - & gt; Render ($ view_model); } // editorial / partial / complete.file per $ echo-> header; Echo $ - THIS- & gt;...

html - Web page text moves when clicked -

I was browsing the website in Internet Explorer 8 and when I click (or double Clicks) Those temporarily running words I have developed many types of webpages and have never seen it, why is this happening? Just curious if its an IE thing, bad coding, used coding platform, etc ... ...) FYI I am unable to use anything except IE8, so I myself Could not perform browser compatibility test.

c++ - cv has no member CAP_PROP_POS_FRAMES -

I am trying to run some code to add trackbacks to some videos, it is from the Learning OpenCV Second Edition Book, But I can not compile my code and give an error "Namespace CV is not a member of CAP_PROP_POS_FRAMES" This is the first bit of code #include & lt; Opencv2 \ highgui \ highgui.hpp & gt; #include & lt; Opencv2 \ imgproc \ imgproc.hpp & gt; # Include & lt; Iostream & gt; # Include & lt; Fstream & gt; using namespace std; Int g_slider_position = 0; Int g_run = 1, g_dontset = 0; // start in a single-stage mode cv :: VideoCapture g_cap; Zero at Tatasbar slides (integer, zero *) {g_cap.set (cv :: CAP_PROP_POS_FRAMES, position); If (! G_dontset) g_run = 1; G_dontset = 0; } this CV_CAP_PROP_POS_FRAME s (note s) and it Highgue Should be brought by HP. This is an anonymous name in the global namespace.

Solve differential equation numerically in python -

मुझे विभेदक समीकरण को हल करना चाहिए, x '- x ** 2 = 1, एक्स (0) = 1 संख्यात्मक रूप से यूलर की विधि का उपयोग करके। अब तक, मैंने नीचे दिए गए कोड का इस्तेमाल किया है: def यूलर (एफ, ए, बी, एन): एच = (बी - ए) / फ्लोट (एन) x [0] = 0 टी [0] = एक श्रेणी के लिए (एन) में: x [k + 1] + = h * f (x, y) t [k + 1] + = h रिटर्न ज़िप (k, t) क्या यह सही है? मैं कुछ हद तक उलझन में हूँ कि च को किस तरह दिखना चाहिए, जब वह f (t, x) ? समस्या यह है कि एफ (एक्स, वाई) हालांकि के रूप में हो सकता है: def f2 (टी, वाई): # टी में [0, 10] # y '= (1 / (1 + t ^ 2)) - 2 * (y ^ 2) यह = 1 + math.pow (t, 2) this2 = (1 / this) - (2 * math.pow (y, 2)) रिटर्न यह 2 क्या यह अधिक समझ में आता है? यही है, यूलर का उपयोग करने की एक शर्त यह है कि f पूर्वनिर्धारित है, और पैरामीटर के रूप में नहीं लिया जाता है।

php - Uploading files to amazon s3 from vendors -

I not only want to upload the image to the server, but also for the Amazon S3 How can I do this? I am using CK editors WiiSiv. I have installed it through the composer and it is located inside the vendors folder. I'm using another bundle to connect with Amazon S3. Uploading files works with an administrator (I use the service that connects to the bundle, which joins the Amazon S3). But how can I do this from the level of seller vendors, so that I can upload images from wysiwyg? Thanks a lot!

html - When flexbox items wrap in column mode, container does not grow its width -

I'm working on the nested flexbox layout which should work as follows: The maximum level ( ul # main ) is a horizontal list that needs to be expanded on the right when adding more objects in it. If it gets too large, then there should be a horizontal scroll bar. #main {display: flex; Flex-direction: line; Flex-wrap: Abrop; Overflow-X: Auto; / * ... and more ... * / Each item in this list ( ul # main> li ) contains the header ( Ul # main> gt> h2 ) and an internal list ( ul # main> gt> ul.tasks ). This internal listing is vertical and wrap it in columns when necessary. When wrapping in more columns, it should increase its width to make room for more items. The increase in this width should also be applied to the item containing the external list. . Task {Flex-direction: column; Flex-wrap: rap; / * ... and more ... * /} My problem is that the window does not wrap the list when the height of the window becomes too small. I have tried to tamper with all ...

Set AutoFilter in Excel with VBA -

Can anyone explain that the first "Autofilter" statement in the code below is "Autofilter Mad of Range Class" Fail "Why Does 2010? ActiveSheet.AutoFilterMode = False shtUSR.Range ("A1"). Choose ActiveSheet.Range ("A1"). AutoFilter field: = 1, Sceneable dropdown: = True ActiveSheet.Range ("B1"). Autofilter field: = 2, widgetDowndown: = TruCThese.OutofilterMode = true I think That I got it! Obviously, the auto filter fails if it can not get any data in the range. Try adding value to A1 and B1 cells (and also remove the ActiveSheet.AutoFilterMode = True line) For 'normal usage', to be safe, you need to have data within range You will need to do a search or test. 1 for good Q though.

gps - Android: How do I call startResolutionForResult from a Service? -

I'm trying to add GPS tracking function to my app by typing GPS tracking service. I am following this and how to do this by using Google Play services for Android Developer Content, but I'm stuck in the onConnectionFailed method. I'm trying to call startResolutionForResult to handle the Google Play services error. Although this method requires that any activity be passed as the first parameter, and since I am telling it to the service, I am not sure exactly what I should do. I think that I am going to go about all this is wrong and there is a completely different way of handling it from service. The authentication process for Google Play services requires an activity because it displays the UI for the user. It may be because the services do not have a UI, so you need to send a message in any activity to set up the connection, then the service can continue. There is a good answer showing a way to do this:

javascript - jquery.sheet trigger formula calculation on cell -

That's why I am loading a CSV file from a server which includes an inserted JS function call, which with jquery.sheet tables / sheets Make them. Everything works by now, but when I put the function in the list, they do not count. Sheet (simplified) data object for TD is before I am modifying anything: object {td: x.fn.x.init [1 ] Dependency: array [0], formula: "", celltype: empty, value: "= A2 + B2 + C2" ...} When I set the formula value So it changes: object {td: x.fn.x.init [1], Dependency: Array [0], formula: "= A2 + B2 + C2" , Celltype: empty, value: "= A2 + B2 + C2" ...} So I understand how to determine the formula and value What I want to do on A is to expect an event to trigger self to calculate the cell based on the coordination of an "X, Y" triggers an event, or it determines whether I have a wrong approach I am not sure what it helps, but when I edit a cell, then it is == A2 + B2 + C2 no = A2 + B2 + C2 ...

java - Best way to add Gradle support to IntelliJ Project -

I've seen a lot and have not found the best solution to convert the existing Intellage project to Graddle. I work in a team environment and we currently share the .ipr file because we have some build configurations that we track. We are finally getting rid of those guys in favor of Gradal, but unless the Gradal conversion is done, I can not cook things too much. In addition, our Java source files are located in the root of source instead of src / main / java are standard. Is there any way that I can add a project to my project which will not allow me to remove and reproduce the intelligible project and will not screw everyone when they drag a grip? Why do not you just add: Build.gradle and use the plugin for example: Apply the plugin: 'ideas' // and apply a standard one plugin : 'Java' and from the command line with this fire: gradle cleanIdea and after that: Great Idea After that everything should work

javascript - Visual Studio Multi-device hybrid failed to fetch package information error -

I have installed the Visual Studio Extension Multi-Device Hybrid, all of which is fine when I run a new project with someone Cordova plug-in enabled battery status I am getting the error message below but if I remove or disable all plugins then it is working fine. Did anyone have any idea about the error dump below or experienced the problem before? Thank you. Error message Unable to fetch package information for org.apache.cordova.battery- status C: \ Mobile \ CordovaApp \ CordovaApp \ EXEC 1 1 Cordowaiv visual Studio output add ------ plugin: org.apache.cordova.battery-status 1 & Gt; Plugin "org.apache.cordova.battery-status" 1> Calling plugman.fetch at 1 & gt; C: \ user \ myuser \ AppData \ roaming \ npm \ node_modules \ vs-mda \ node_modules \ q \ q.js: 126 1> Throw e 1 & gt; ^ 1 & gt; EXEC: Error: org.apache.cordova.battery-status 1 & gt; Failed to get package information for C: \ Users \ Musser \ Appdata \ Roaming \ Npm \ Nod_m...

html - jQuery - Change CSS of one element from many with same class identification -

I am working around a simple jQuery script that changes the background color of an element when clicked . Here's my code: & lt; Script src = "// code.jquery.com/jquery-1.10.2.js"></script> & Lt; Div class = "radio" & gt; Text 1 & lt; / Div & gt; & Lt; Div class = "radio" & gt; Text 2 & lt; / Div & gt; & Lt; Div class = "radio" & gt; Text 3 & lt; / Div & gt; & Lt; Div class = "radio" & gt; Text 4 & lt; / Div & gt; I would like to have the following: I click on "text1" and this div is changing its background color to red and it remains red. P> I click on "text2" and the background color of "text1" is going back to white and then the background color of "text2" is going and the red is going on. I hope you have a good .red {background-color: red;} & lt; script src =" https://a...

winapi - Detect sending message -

When I close the lid and the desktop, I will send messages from my MacBook Desktop to my cell phone (I-Message ) send wish is in sleep mode However, my desktop is possible to detect the lid goes quickly from sleep mode to send messages after the closing to send the message Or is it short time to send? I'm using Applescript, but will no suggestion in any language, because the message sent concerning to my university and other languages ​​will be useful to do the same thing on other Microsoft desktop. For the command line to detect Sleepvetr sleep and action of a command line I tried to send SMS using Neksmo on your phone and it was turned off airair2: sleepwatcher_2 .2 bis $ ./sleepwatcher -s' curl "https://rest.nexmo.com/sms/json?api_key=key&api_secret=secret&from4249996003&to=14245555555&text=Alarm%21+Temperature+inside+ (" ":" 14242179430 "," message- id ":" 020000004477EA13 "," position ...

mysql query on two tables without getting duplicates -

This summary is not available. Please click here to view the post.

php - Webpage redirect not working properly -

I am creating index.php page for my website and I've come across many errors on line 13 of code below, But I have decided to do most of them I & lt; / Meta & gt; Has tried to add and even; , After Http-equiv = "Refresh" Here's my code: The problem is double quotes inside your double quote. Instead of using a single quote echo "you will be redirected to login in 5 seconds! (& Lt; meta http-equiv = \" refresh \ "; content = \ "5; URL = login.php \" & gt;) ";

php - How to add country, state and city select field in laravel forms? -

Hi, I'm new to the larval framework in my form, the select them will be the country, state, city of three areas in the option . Can I apply these areas to the Larval Framework Someone has suggested to me on this. thanks using the form class Create a drop-down list with Laravel: echo form :: select ('country', array ('US' = & gt; ; 'United States',' UK '=> United Kingdom')); For more information, see:

google app engine - GAE over quota with billing enabled -

I have deployed my GAE app as a module Appengine-web.xml is as follows. & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Appengine-web-app xmlns = "http://appengine.google.com/ns/1.0" & gt; & Lt; Application & gt; MyApp & lt; / Application & gt; & Lt; Version & gt; 200 & lt; / Edition & gt; & Lt; System-Properties & gt; & Lt; Property Name = "java.util.logging.config.file" value = "WEB-INF / Logging.Properties" /> & Lt; / System-Properties & gt; & Lt; Use-google-connector-j & gt; True & lt; / Use-Google-connector-j & gt; & Lt; Module & gt; Batch & lt; / Module & gt; & Lt; Example Level & gt; B1 & lt; / Example level & gt; & Lt; Basic-scaling & gt; & Lt; Max-examples & gt; 1 & lt; / Max-examples & gt; & Lt; Idle timeout & gt; 10m & lt; / Inactive-time expiration &...

php - Strip out all formatting tags of excerpt -

The author of the code below explains that it uses _excerpt_rss () because it "removes all formatting tags "Does my code" code all formatting tags "both code below? What is the difference between the two codes given below? What would you suggest? & lt; Meta name = "description" content = "& lt ;? php echo strip_tag (get_the_ex_script ($ post- & gt; id)) ;;" / & Gt; Vs & lt; Meta name = "description" content = "& lt; php the_excerpt_rss () ;? & gt;" / & Gt; By default, the_excerpt_rss () not strip html The tag parses out the link for the numbered URL footnote. In order to actually strip the tag, you have to pass 2 for the parameter $ encod_HMT (see): $ encode_html (integer) defines HTML tag filtering and special characters such as '& amp;') encoding options are: 0 - Exits the link for the (default) numbered "url footnotes" 1 - The PHP function filters thr...

orientdb - python UnicodeDecodeError on long query using pyorient -

I use OrientDB and pyorient to try Python while trying to create a long query on my behalf I'm doing: (from ('written_on') from (choose * from (* ('from' posted to '') ((Select from person * where * from @ liberation = # 14: 0))) @ Class = 'comment' Here is a UCDDDCoding error my code: $ Python Python 2.7.3 (Default, February 27, 2014, 19: 58:35) [GCC 4.6.3] Linux "Help", "Copyright", "Credit" or "License" for "More Information" on S2. Gt;>> Import Period> Client = Petroleum Orient (DB) 'Localhost', 2424) client.connect ('root', 'root') 10 >> Gt; & Gt; person = client.query (Select 'from person')>> For individuals: ... print person.name ... [good result]> gt; & gt; position = Client.query (Select from * (in (from 'post_b') (select * FROM person where @ RUDE = # 14: 0)) where @class = 'POS K ') file "...

c# - If we change default database name in asp.net mvc 4 default example , what are the places we should change? -

I have just changed my database to MVC 4, which is the default sample in Visual Studio 2012. But all the tables in the new database are included, in which the default DB, I understand some places that should change when we change DB. , "UserProfile", "User ID", "Username", autoCreateTables: true); 2.Under Model folder "AccountModels.cs" Public class UsersContext: DbContext {Public UsersContext (): Base ("HECConnection") {} Public DbSet & lt; UserProfile & gt; UserProfiles {Receive; Set; }} [Table ("UserProfile")] Web.config file connection string 3.In & lt; ConnectionStrings & gt; & Lt; Name = "HECConnection" connectionstring = add "Data Source = (LocalDb) \ v11.0; Initial List = HEC; Integrated Security = SSPI; AttachDBFilename = | DataDirectory | \ HEC.mdf" ProviderName = "System.Data.SqlClient" / & Gt; & Lt; / ConnectionStrings & gt; S...