please can you help me solve this ... thanks Scene 1, Layer 'Action Layer', Frame 1, Line 1, Column 1 1120: Access of undefined property url. Scene 1, Layer 'Action Layer', Frame 1, Line 2, Column 1 1180: Call to a possibly undefined method loadVariablesNum. Scene 1, Layer 'Action Layer', Frame 1, Line 2, Column 18 1120: Access of undefined property url. Scene 1, Layer 'Action Layer', Frame 1, Line 3, Column 1 1120: Access of undefined property _root. Scene 1, Layer 'Action Layer', Frame 243, Line 1, Column 19 1120: Access of undefined property _root. url = "xxx"; loadVariablesNum(url + "_main
I have both TypeScript and HTML files in my project, in both files tabs are converted to spaces. I want to turn the auto-conversion off and make sure that my project has only tabs. Edit: With this setting it seems to work in HTML files but not in TypeScript files. { "editor.insertSpaces": false }
After some research and a few questions, I ended up exploring libclang library in order to parse C++ source files in Python. Given a C++ source int fac(int n) { return (n>1) ? n∗fac(n−1) : 1; } for (int i = 0; i < linecount; i++) { sum += array[i]; } double mean = sum/linecount; I am trying to identify the tokens fac as a function name, n as variable name, i as a variable name, mean as variable name, along with each ones position. I interested in eventually tokenizing them. I have read some very useful articles (eli's, Gaetan's) as well as some stack overflow questions 35113197, 13236500. Howe
I'm trying to integrate spring-mybatis in my application. I'm using spring 4.1.4 and mybatis 3.2.8 java 7 and the server is WebSphere Application Server Liberty. I'm using a spring java configuration class. This error is showing only when I'm deploying the war file, if I'm using Eclipse to deploy the project everything is ok. Deploying in Tomcat 8 is working too. @Configuration @MapperScan("x.y.z.mappers") @PropertySource("classpath:/x/y/z/data_source.properties") @EnableTransactionManagement public class DataAccessConfiguration { @Autowired private Environment env; @Bean public DataSource dat
I am using a wordpress blog,some of the open graph image not showing on linkedin. but it showing if i change the post category.every post works fine with facebook and twitter. Can anyone help me?
My application has a 10 WCFService (WCFService Application on platform .NET Framework 3.5) with same software and hardware but only 1 takes this exception: When user is logged in invoke this method: public IService Select(SelectServiceRequest request) { IAxxxService anagServ = IoC.Container.Resolve<IAxxxService>(request.GetRegisteredService().ToString()); return xxxServ; } with GetRegisteredService() implementation with ClientIdentifier = 0 for first execution public RegisteredServices GetRegisteredService() { RegisteredServices res = RegisteredServices.Estxxx; if (ClientIdentifier == 0) { res
My application has a 10 WCFService (WCFService Application on platform .NET Framework 3.5) with same software and hardware but only 1 takes this exception: When user is logged in invoke this method: public IService Select(SelectServiceRequest request) { IAxxxService anagServ = IoC.Container.Resolve<IAxxxService>(request.GetRegisteredService().ToString()); return xxxServ; } with GetRegisteredService() implementation with ClientIdentifier = 0 for first execution public RegisteredServices GetRegisteredService() { RegisteredServices res = RegisteredServices.Estxxx; if (ClientIdentifier == 0) { res
My application have a 10 WCFService ( WCFService Application on platform .NET Framework 3.5) with same software and hardware but only 1 takes this exception: When user is logged in invoke this method: public IService Select(SelectServiceRequest request) { IAxxxService anagServ = IoC.Container.Resolve<IAxxxService>(request.GetRegisteredService().ToString()); return xxxServ; } with GetRegisteredService() implementation with ClientIdentifier = 0 for first execution public RegisteredServices GetRegisteredService() { RegisteredServices res = RegisteredServices.Estxxx; if (ClientIdentifier == 0) { r
I am trying to setup a REST based web application, where the frontend is using Reactjs and the backend is using Spring Boot. I am also trying to setup a custom authentication provider, and this is where my problems start. When trying to test the login API call, the CustomAuthenticationProvider is never called, and instead the default DaoAuthenticationProvider is used. This causes the login to report "Bad credentials". I have upload a small sample application to github: spring-boot-auth-demo To test the login API I use the following curl: curl -H "Content-Type: application/json" -X POST -d '{"u
With journalctl, it is possible to remove the old logs, by specifying either the maximum disk space they can use, or the maximum age they can have, or the maximum number of separate journal files (using the options --vacuum-size, --vacuum-time or --vacuum-files). Is there a way to restrain this deletion to a specific systemd unit ? journalctl -u <unit> --vacuum-time=2d seems not to work as desired: according to the documentation, -u only works when displaying logs.
I am using QBApiWrap.QuickbaseApiWrapper.DoQuery in C# to get the records from my table. Previously it has been working fine. Now the number of records have increased to 30,000 and I am getting the following error: Errcode : 75 Errtext : Report too large Errdetails : Maximum number of bytes in report exceeded How can I get all the records in a single dataset? I am querying in below manner: DataSet dsEmployee = My_Integration.QBApiWrap.QuickbaseApiWrapper.DoQuery(dbIdEmployee, ticket, "","3.6.7.8.21.15");
I want to fit a line to line fragments, i.e. a small number (often less than 10) of line segments that approximately belong to the line. The line has a small slope. But there are outliers: segments (usually smaller) outside the line. The figure below shows a typical case. There isn't any horizontal overlap between the pieces. I would prefer to avoid trying a fit on all subsets of segments and keeping the best. I also wouldn't rely on RANSAC as the sample is too small. Any suggestion? I now plan to recast the problem as that of fitting a line on points, namely the infinities of points on the in
A few days ago, I was roaming around Wikipedia and came across something, this comet came extremely close to Mars for astronomical standards recently. I'm also working on a science fiction universe and was wondering what would happen if this comet collided with Mars. From Wikipedia, it would have released 24 billion megatons of TNT. Would this be enough to release the carbon dioxide on Mars and start a runaway greenhouse effect? Also, how would this comet be tweaked to collide with Mars, if even possible?
I have learned a little about Unsafe State and Safe State. Safe State is when there is no chance of deadlock occuring, while unsafe state doesn't mean a deadlock has occurred yet, but means that a deadlock could happen. What I'm trying to figure out is if a system is in an UNSAFE state, can it ever return to a safe state? Thanks for your time!
I'm trying to mount a single file from a Docker volume in a container when using "docker run". I've been able to mount an entire volume as a directory, e.g: docker run -v my_volume:/root/volume my_container I've also mounted single files from the physical machine, e.g: docker run -v /usr/local/bin/docker:/usr/local/bin/docker Is there a way?
I am trying to compare two google sheets (for duplicate values) over a predefined range.. I am aware that google lets you compare sheets via tools, but i need a more customized comparison hence the function. I want to create a function which takes in a range... something like: function myFunction(range) { var firstColumn = range.getColumn(); // loop over the range } The problem is that when I try doing this, the parameter seems like it is only passing the values to the function. Thus, I cannot use any of the Range methods such as getColumn(). When I attempt to do so, it gives the following err
I have to design a solution that will help me out to load data into 4 tables from 1 master table. All that the function or package is supposed to do is following : Count total number of rows in a master table Divide by 4 Load into table 1,2,3 and 4. Every time we run the program, this function wipes out 4 tables and do the above process again and the name of the main table and of the destination tables will be always same. For example, if the Master Table has 4200 records then : Table A will get 1-1000 Table B will get 1001-2000 Table C will get 2001-3000 Table D will get 3001-4200. Can anyone
When I try to copy an existing file from a remote computer to local with File.Copy( string.Format(@"\\{0}\e$\{1}", computerName, fileName), string.Format(@"{0}\{1}\{2}", localPath, computerName, fileName), true); I get the exception Could not find part of the path "\computername\e$\filename". I checked the path and it's correct. I don't think that is a permission problem because I can reach the file with Directory.GetFiles and I can obtain info like file size or last writing date with FileInfo, moreover when I execute xcopy command from cmd with the same paths in the code he copies the file su
I have a datagridview where i need to disable rows where the checkbox value on that row isn't checked, here's the code: foreach (DataGridViewRow row in catView.Rows) { if (row.Cells[1].FormattedValue.ToString() != "true") { for (int i = 0; i < row.Cells.Count; i++) { row.Cells[i].Style.ForeColor = Color.Gray; row.Cells[i].ReadOnly = true; } } } Problem is that this doesn't set the colour or disable the checkbox, what am i getting wrong? More info: cells[1] is the checkbox column.
I have a list of the specific status ids of tweets that I need to obtain. The tweepy documentation provides the following: API.get_status(id) Returns a single status specified by the ID parameter. Parameters: id – The numerical ID of the status. Return type: Status object I can't work out how to use this or find any examples. Is this even the right thing? My list of ids is 2240 items long and looks something like this: response_ids = [717289507981107201, 717289501337509888, ..., 716684885411237888] These ids were obtained from the 'in_response_to_status_id' field of tweets that I already have
I use the compiler edg for front-end compilation. Let's assume I have two files /build/src/a.c /build/include/a.h I am able to compile the file a.c by specifying -I /build/include, but not using -I../include. How can I use a relative path using edg? Note: I am compiling all the source files using XML files, not from a command-line interface.
I use the compiler edg for front-end compilation.Let's assume I have two files /build/src/a.c /build/include/a.h I am able to compile the file a.c by specifying -I /build/include, but not using -I../include. How can I use a relative path using edg? Note: I am compiling all the source files using XML files, not from a command-line interface.
In my script I need to find out whether user is in dialout group and if he is not, add him to the group. I have found out how to add him but is there a way how to know if he is in the group ?
I have two branches - A and B. B was created from A. Work on both branches continued in parallel. Work on branch A was bad (resulting in a non-working version) while work on branch B was good. During this time branch B was sometimes merged into branch A (but not the other way around). Now I want to make branch A identical to branch B. I can't use git revert because I need to revert too many commits - I only want to revert the commits that were done on branch A but not as a result of merging branch B. The solution I found was to clone branch B into a another folder, delete all the files from th
I have a conda virtual environment with several unused packages installed inside it (either using pip install or conda install). What is the easiest way to clean it up so that only packages that are actually used by my code remain, and the others are uninstalled?
I am building custom step-by-step form based on Contact Form 7 and i need to validate field before going to next section. how i can call validate function on click? I can't find it in documentation. $( "#next-section" ).click(function() { //call validate function (how to do this)?? if('validate function no errors') { //call my scripts } });
For some reason, my docker-compose/node/nginx stack is having trouble serving static files. The reverse proxy side works but serving my css and javascript fails. For every static file requested, I get an error like this: customnginx_1 | 2016/03/29 22:42:13 [error] 6#6: *1 open() "/var/www/static/styles/normalize.css" failed (2: No such file or directory), client: 192.168.99.1, server: , request: "GET /styles/normalize.css HTTP/1.1", host: "192.168.99.100", referrer: "http://192.168.99.100/" How do I properly link my "static" directory to my nginx container so these files are served correctly?
I'm having some issues with the following PowerShell script, could you please help me with that? What I'm trying to accomplish is create a clickable hyperlink in PowerShell's console output. Something like that: $testOutPut = "http://something.com" Write-Host $OutputConvertedIntoHYPERLINK Where the desired console response would be: clickable link to external app http://something.com My goal with it is to show this clickable information on build console into TFS 2015.