upgrade

Using Angular 1 libraries in Angular 2?

天涯浪子 提交于 2019-11-29 13:36:45
Can I use Angular libraries, for example angular-cookies in Angular 2 app? Seems that this is not possible, but I want to know this cause I'm planning to upgrade project to Angular2 In general, no. If you're interested in following the migration guide by running Angular 1 and 2 simultaneously, you may be able to get an Angular 1 library functioning, but it's likely not worth your trouble. I'd encourage you not to be scared of rewriting common libraries for yourself. You'll be surprised by how easy it is - in many instances you'd spend more time trying to figure out a library's documentation,

Should I call “SqlCeEngine.Upgrade()” when both the SDF file and the device are seemingly the same version (2)?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-29 12:58:58
This is a followup to a question here ctacke said there regarding SQL Server CE-related "issues" I was/am having: " The problem, as indicated by the error text, is that the SDF file was created by a version of SQL Compact that doesn't match the version of SQL Compact that the application is referencing. I wouldn't focus on the reported version numbers, just the fact that it knows there's a mismatch. If you don't know the version of the SDF, you can always look it up by reading a few bytes from the SDF file. SQL Compact database files aren't 100% transportable. You definitely cannot take an SDF

Missing libraries when upgrading to PostGIS 2.1 and PostgreSQL 9.3.1 using homebrew

我与影子孤独终老i 提交于 2019-11-29 12:42:50
问题 In the process of upgrading my PostgreSQL from version 9.2.4 to 9.3.1 (via homebrew on OS X) I came across an odd problem. These are the steps I took so far PostgreSQL, PostGIS and required libraries installed (no errors) run initdb on the new database stopped both servers running pg_upgrade pg_upgrade performs the necessary checks, creates dumps of the old cluster, but when importing into the new cluster I get the following error: > ./pg_upgrade -b /usr/local/Cellar/postgresql/9.2.4/bin/ -B

how to upgrade database version with new rows with SQLiteAssetHelper

此生再无相见时 提交于 2019-11-29 12:01:20
i have developed a tutorial app in which i have saved more than 500 questions and answers. their is one more table called favourites. which is for user input. now, i want to update my app with new questions and answers. but i dont want to erase the data of favourites table (in case, user has marked some questions favourites, so those questions should not be erased from favourites) so how can i do it? because, i have used SQLassethelper library for database connectivity. my old db contains: data table(static table) favourites table(local table) so, according to sqliteassethelper documentation i

Update Angular CLI in existing project

萝らか妹 提交于 2019-11-29 11:51:09
I'm working on angular-cli 1.0.4 in existing project, I would like to update the version to 1.2.4. What is the best way to uninstall the old one and update to the newer one using npm with effecting my existing project? which updates the version on package.json file. The guide to update your angular cli to any version UPDATE 23-Oct-2018 ref: how to update an app when ng cli and angular change version best practice : If you are on Angular CLI version 6+ just run ng update then follow the command line instructions. Also checkout this guide Updating your Angular projects Recently I've being

Stability of .NET serialization across different framework versions

狂风中的少年 提交于 2019-11-29 10:02:37
A project I'm working on requires serializing a data structure before shutting down and restores its state from this serialized data when it start up again. Last year, we were building for .NET 1.1, and ran into a tricky issue where our code ran on .NET 2.0 a customer upgraded with some software that somehow set 1.1 as default our code ran on .NET 1.1 and was unable to deserialize its stored state This particular issue was "resolved" by barring that particular software upgrade, and shouldn't be a problem now that we're targeting the .NET 2.0 framework (so we can't possibly run on 1.1). What is

Getting ready to convert from Python 2.x to 3.x

纵然是瞬间 提交于 2019-11-29 07:52:01
问题 As we all know by now (I hope), Python 3 is slowly beginning to replace Python 2.x. Of course it will be many MANY years before most of the existing code is finally ported, but there are things we can do right now in our version 2.x code to make the switch easier. Obviously taking a look at what's new in 3.x will be helpful, but what are some things we can do right now to make the upcoming conversion more painless (as well as make it easier to output updates to concurrent versions if needed)?

Windows msi: error 1316: the specified account already exists

删除回忆录丶 提交于 2019-11-29 07:33:54
The execution of a wix package from a bundle outputs "error 1316: The specified account already exists" during upgrade. How can a windows installer output this error code? I'm afraid there isn't much documentation about it. We previously released a product consisting of a single msi package, and now we are preparing an upgrade which consists of a wix bundle containing a new version of this msi package. The product code and filename between the original msi package and the update haven't changed. Edit: The msi package for now doesn't support upgrade. When the user needs to upgrade (whenever it

Upgrade to numpy 1.8.0 on Ubuntu 12.04

独自空忆成欢 提交于 2019-11-29 07:33:03
问题 I'm running Ubuntu 12.04 which comes by default with NumPy 1.6.0 (I have, actually had , Python 2.7.3 installed). As a result of the answer to this question polyfit() got an unexpected keyword argument 'w', I need to upgrade it. I downloaded the .tar.gz package for the version 1.8.0 from here, unpacked it, moved inside the folder and run the commands: python setup.py build --fcompiler=gnu95 python setup.py install --user as described in the user guide and in this question: Building NumPy 1.7

Login fails after upgrade to ASP.net 4.0 from 3.5

随声附和 提交于 2019-11-29 07:09:40
I cannot log in using any of the membership accounts using .net 4.0 version of the app. It fails like it's the wrong password, and FailedPasswordAttemptCount is incremented in my_aspnet_membership table. (I am using membership with mysql membership provider.) I can create new users. They appear in the database. But I cannot log in using the new user credentials (yes, IsApproved is 1). One clue is that the hashed passwords in the database is longer for the users created using the asp.net 4.0 version, e.g 3lwRden4e4Cm+cWVY/spa8oC3XGiKyQ2UWs5fxQ5l7g=, and the old .net 3.5 ones are all like