Migrating SP2013 from windows server2008R2 to windows server2012R2 keeping sharepoint version same

I have SharePoint 2013 farm set up on windows server2008R2 and now I want to move that to windows server2012R2. How to do that?

FYI: I have 3 servers in the farm- one for Active Directory, another for SQL and one more for SharePoint2013.

Fresh system installation keeping some partitions untouched

I am running 14.04 LTS and would like to upgrade to 16.04 LTS with a complete reinstall. One of the motives behind the complete reinstall is that there is a dualboot system with a zombie Windows I want to get rid of. So it is fine for me that the new Ubuntu release takes hold of the hard-disk resources in full once again.

There are two partitions, though, that I would like to keep in place out of convenience: those where I had mounted /home and /opt. Of course I am aware that backup is just as important as clean water, and that I can resort to that after a brute-force reinstall.

However, I wondered if, during a complete reinstall, I could instruct the installation medium of 16.04 not to wipe those specific partitions, so than I can mount them again when the new Ubuntu is in place?

Same question holds in the scenario I move onwards from 16.04 to 18.04.

It is worth mentioning that /home is encrypted, in case this complicates the matter, although this question and answer Why can I not deselect "encrypt my home folder"? gives a hint of what will happen. Confirm/confute welcome.

8 Secrets About Peak X Keto They Are Still Keeping From You

Peak X Keto Also if you want to maintain your weight then you must use weight loss supplement. Folks have realized that diet system is failing that it cannot give any best results anymore. This scientific era suggests us to use scientific things that are more effective and safe as well.

Click Here==>> http://topdietbrand.com/peak-x-keto/

How to remove one of the Ubuntu installations while keeping other

My girlfriend is given this laptop with Ubuntu on it. But she’s messed with the terminal and now it won’t boot. Recovery options did not help, so we ended up installing fresh Ubuntu on it. This whole thing happened again, now we ended up with 2 unbootable Ubuntu installations, and a third one working.

I believe there are two partitions with 3 OS’s on them now.

What’s the ideal way to clean the other not working two installations?

Keeping steps in sync of long running process and creating common layer for code repetition

I have 1 long running process wrapped inside a method and it is for 2 different types like below:

  • Type1
  • Type2

Code:

public interface IBaseType     {         MyResult LongRunningProcess(int jobId,int noOfTimes); //doenst save long running process data in database.just returns the results to consumer         void LongRunningProcess(int noOfTimes); //Save results of long running process in database.Background job with on-demand as well as scheduled     }  public class Type1 : IBaseType {     public void LongRunningProcess(int jobId,int noOfTimes)     {         try         {            //Step1 :             var type1Manager =  new Type1Manager(params);            for (int i = 0; i < noOfTimes; i++)                {                  var con = ConnectionFactory.OpenConnection();                  type1Manager.Start(con);                 //Save results of those processing             }            //Step2:           IVersioning versioning = new Versioning();           string version = versioning.GetVersion();           using (connection = new SqlConnection(connectionString))           {                connection.Open();                using (var transaction = connection.BeginTransaction())                {                   try                   {                      Repository.UpdateVariantVersioning(connection, transaction,jobId, version);                      Repository.UpdateCategoryWithVersion(connection, transaction,versioning.Category,version);                      transaction.Commit();                   }                   catch(Exception ex)                   {                        transaction.Rollback();                        //code to delete everything that has been performed in step1                        throw ex;                   }                 }             }         }         catch (Exception ex)         {             Repository.UpdateErrorDetails(connectionString,jobId,ex.Message);         }          //Step3 : if step1 and step2 successfull than mark this job as succeeded else failed         // Updating time of whole process in table     }  }      public class Type2 : IBaseType {     public void LongRunningProcess(int jobId,int noOfTimes)     {         try         {            //Step1 :              var type2Manager =  new Type2Manager(params);             for (int i = 0; i < noOfTimes; i++)                {                  var con = ConnectionFactory.OpenConnection();                  type2Manager.Start(con);                 //Save results of those processing             }            //Step2:           IVersioning versioning = new Versioning();           string version = versioning.GetVersion();           using (connection = new SqlConnection(connectionString))           {                connection.Open();                using (var transaction = connection.BeginTransaction())                {                   try                   {                      Repository.UpdateVariantVersioning(connection, transaction,jobId, version);                      Repository.UpdateCategoryWithVersion(connection, transaction,versioning.Category,version);                      transaction.Commit();                   }                   catch(Exception ex)                   {                        transaction.Rollback();                        //code to delete everything that has been performed in step1                        throw ex;                   }                 }             }         }         catch (Exception ex)         {             Repository.UpdateErrorDetails(connectionString,jobId,ex.Message);         }          //Step3 : if step1 and step2 successfull than mark this job as succeeded else failed         // Updating time of whole process in table     }  } 

So as you can see here that step2 and step3 code are getting repeated for both types so I want to this code repetition.

Secondly I want to keep step1 and step2 in sync so that when step2 fails, then rollback whatever has been done inside the entire step1 process.

I am a bit confused with moving versioning in base abstract class because that would probably be tightly coupled with this long running process. I want to design it in a way that tomorrow if I think of removing versioning then it should not hamper my current design and code.

Can anybody please help me with this?

Update : Added versioning code

interface IVersion {     string CreateVersion(); }  Public class Version : IVersion {      public string Category { get; private set; } } 

Keeping up with industry standards

(I’m pretty new here, so if this doesn’t belong, I apologize.)

I recently finished a degree in Software Development and am starting a career at the company where I did my internship.

Obviously the internship was a period of learning, but I found myself often lost as to where I could find the industry standard way of doing things (besides trial and error, that is).

Since the industry is constantly changing and improving, I’m wondering how I can best keep myself up-to-date with current industry standards (for code comments), new frameworks and required certificates.

I’m in no way averse to learning new things, but currently I feel like I’m bashing my head against the wall, making mistakes at every turn (which in itself isn’t bad, I would just like to minimize these).

Do I just follow a ton of forums constantly, scouring for changes within the industry, or are there other resources that I can use to keep up?

Refactor namespaces in a library while keeping backwards-compatibility

We developed a generic .NET library for our line-of business applications. This is what our namespace/class structure looked like 5 years ago:

... AcmeCorp.Tools.ExcelWriter AcmeCorp.Tools.Code128Barcode ... 

5 years later, the number of classes in the generic Tools namespace has grown (e.g. there’s now a CSVWriter in addition to an ExcelWriter and a QRBarcode in addition to a Code128Barcode). Thus, I’d like to refactor the namespaces to look like this:

... AcmeCorp.Export.ExcelWriter AcmeCorp.Export.CSVWriter AcmeCorp.Export.SomeUtilityClassUsedByAllExportClasses AcmeCorp.Barcode.Code128Barcode AcmeCorp.Barcode.QRBarcode ... 

I know how to refactor namespaces in C# – that’s not the question. The question is: How do I keep my library backwards-compatible?

Ideally, I’d like to do something like this:

namespace AcmeCorp.Barcode {     [AlsoAvailableViaDeprecatedLegacyNamespace("AcmeCorp.Tools")]     public class Code128Barcode     {         ...     } } 

which would automatically create a proxy class AcmeCorp.Tools.Code128Barcode which (a) redirects all calls to the new class and (b) annotates the proxy class with the [Obsolete("Use AcmeCorp.Barcode.Code128Barcode instead.")] attribute. Alas, no such AlsoAvailableViaDeprecatedLegacyNamespace attribute exists. (Or does it?)

The only other solution I could think of would be to write such a proxy class myself, which would be a lot of useless boilerplate code.

Is there any other solution that I have missed? To reiterate: My goal is to

  • move classes into a more suitable namespaces, but
  • keep the library backwards-compatible (no source-level or binary-level breaks),
  • avoid code duplication and boilerplate code (as far as possible), and
  • (bonus:) mark all uses of the “old” namespace as obsolete.

Keeping track of limit cycles via certain second order differential operator

Inspired by the two posts which are linked bellow we ask the following question:

Question: For a vector field $ X$ on the plane we define the differential operator $ D$ on $ C^{\infty}(\mathbb{R}^2)$ with $ D(f)=(\Delta\circ L_X-L_X\circ \Delta)(f)$ where $ \Delta$ is the standard Laplacian.

Is there a vector field $ X$ on the plane with $ 2$ nested closed orbits $ \gamma_1 \subset \gamma_2$ such that there exist a smooth function $ f$ for which $ D(f)$ does not vanish on the closur of the amnular region surrounded by $ \gamma_1$ and $ \gamma_2$ ?

On equation $ \Delta \circ \partial/\partial X=\partial/\partial X \circ \Delta$ on a Riemannian manifold

Elliptic operators corresponds to non vanishing vector fields

Remark: The first words of the titles of this post is inspired by a paper by C.C. Pugh and J.P Francois ” Keeping track of Limit cycles”

Redesign a page for mobile, while keeping a “similar” layout to the desktop view, desktop uses a table

Well I have a page that looks decent on desktop, and most of the site is working responsive as well. The website has as goal to provide people to sign up for (sport) tournaments, and allows users to quickly enroll for multiple events at once.

Now the main problem is a page where we request users to put in a list of teammembers, which are basically name-email combinations. (All teammembers will receive an email to give more details).

In the desktop version a simple table is used. This works “perfectly” with logical use of the available screen width. It also allows for natural tabbed browsing.

Desktop view

Now the same page on mobile becomes a huge mess:

Mobile view

Ignoring the top bar and bottom navigation (those are separate issues for which we have already planned improvements). I’m mainly in doubt over the actual “team list”. How would I redesign this so that it looks on mobile (also) good? – Ideally the design would be responsive so that it’s the same on desktop and mobile.
But if clearer I can also give a complete different view for mobile, while leaving the original desktop view.