Сообщения

Finding molecules that you randomly create using a modeling kit

Finding molecules that you randomly create using a modeling kit I recently bought https:snatoms.com which is just a real-life modeling kit for atomsmolecules and was just keen on learning about chemistry in general. I often randomly join atoms to make up some molecule. Was wondering if there is an easy way to find the molecule i created

Не работает кодировка utf-8

Не работает кодировка utf-8 php , . . .preview OpenServer, utf-8. Sublime utf-8. Mozilla . Chrome. , UTF-8 , headerContent-Type: textplain; charsetutf-8;; HTML , , HTML headerContent-Type: texthtml; charsetutf-8;;. , Content-Type. , , .

Using fuzzy logic to balance a two wheeled arduino robot

Using fuzzy logic to balance a two wheeled arduino robot I currently have a three wheeled arduino robot, but im going to remove the back wheel and try to implement a fuzzy logic algorithm so the robot is able to balance itself on two wheels. My only concern is that the wheels are not directly cenetered on the chassis, so the center of gravity is not above the wheels, and the chassis is a bit big. Is it still going to be possible to achieve what I want with these issues

QGIS 2.14 standalone GRASS provider missing Msys folder, can't execute tools

QGIS 2.14 standalone GRASS provider missing Msys folder, can't execute tools In QGIS 2.12 and down, when one went about manually setting the GRASS provider folder paths, this was the way to do it In GIS 2.14 there is no Msys folder in the same path ...appsmsys or any other folder in the QGIS installation. So even though QGIS standalone needs to have it set correctly in order for GRASS tools to work, it cant be done. So how do you make GRASS tools work in QGIS 2.14 I got the same problem using the Osgeo installer, but I just managed to solve it. First download this https:sourceforge.netprojectsmingwsourcetyp_redirect Install it, look for msys-base package and install it. Set the path to msys in QGIS to C:MinGWmsys or what ever local drive it was installed on and the Grass algorithms should work fine. So heres the deal: QGIS 2.14 standalone doesnt come with msys installation, but comes with grass 7 folders. QGIS 2.12 standalone comes with msys and grass 6.4 folders, yet no...

gsub error message when addressing column in dataframe in RStudio

gsub error message when addressing column in dataframe in RStudio Since a couple of days I get the following error message in RStudio from time to time and cant figure out what is causing it. When I write in the console window to address a data.frame followed by to address a specific column in the data.frame for example dfSomeVariable, the following message is shown in the console window and is printed over an over with every letter I type Error in gsubreStrip, , completions, perl TRUE : input string 38 is invalid UTF-8 The error message doesnt have any real effect. Everything works just fine except the automatic completion of the variable name. Im using R version 3.4.4 and RStudio Version 1.0.143 on a Windows computer. In the R script I am currently working on I dont use gsub or any other string or regular expression function for that matter. The issue appeared with various data.frames and various types of variables in the data.frames numeric, integer, date, factor, etc.. It ...

Why do positive definite matrices have to be symmetric? [duplicate]

Why do positive definite matrices have to be symmetric? [duplicate] This question already has an answer here: Non-Symmetric Positive Definite Matrices 3 answers Definitions of positive definiteness usually look like this: A symmetric matrix M is positive definite if xT M x 0 for all vectors x neq 0. Why must M be symmetric The definition seems to make sense for general square matrices. Let quadratic form f be defined by f mathrm x : mathrm xtop mathrm A ,mathrm x where mathrm A in mathbbRn times n. Since mathrm xtop mathrm A ,mathrm x is a scalar, then mathrm xtop mathrm A ,mathrm xtop mathrm xtop mathrm A ,mathrm x, i.e., mathrm xtop mathrm Atop mathrm x mathrm xtop mathrm A ,mathrm x. Hence, mathrm xtop leftfracmathrm A - mathrm Atop2right mathrm x 0 Thus, the skew-symmetric part of matrix mathrm A does not contribute anything to the quadratic form. What is left is, then, the s...

Making change in database model - Sequelize

Making change in database model - Sequelize Im a beginner and Im using Sequelize for my database. I created the model, did a migration after creating it, then added mocks seeds but realized that I made a mistake for two attributes data types. I need to change that but Im not sure what the correct way to do this. Do I have to: sequelize db:migrate:undo and then make my changes in the model and then run a migration Or do I have to drop the model and recreate it I guess, Im not completely sure what a migration does in the scheme of things.