Posts

Showing posts with the label solving

Solving Some Azure Active Directory User Synchronisation Issues on Office 365

Image
Solving Some Azure Active Directory User Synchronisation Issues on Office 365 We started moving over to Office 365 quite a while before we decided to ditch Notes mail and move to Outlook. It was also my plan to get rid of our internal active directory server and rely solely on the cloud for authentication.  As it turned out, management wanted to keep the AD server a little longer, so weve had to synchronise our onsite accounts with the Office 365 ones. The synchronisation processes immediately created duplicates (and sometimes triplicates) of users.  The journey to resolve this issue was time consuming and data destructive, so I thought Id let everyone know how to fast-track it. What Causes the Problems Microsofts Office 365 users have unique IDs much like the objects in the Active Directory. When you create a user from scratch on Office 365, you create them with a unique ID. While there are tools that will let you change these unique IDs, weve found that they generally do mor...

Solving a Linear Systes of Equations Using python

Image
Solving a Linear Systes of Equations Using python Solving linear systems of equations is straightforward using the scipy command linalg.solve . This command expects an input matrix and a right-hand-side vector. The solution vector is then computed. An option for entering a symmetrix matrix is offered which can speed up the processing when applicable. As an example, suppose it is desired to solve the following simultaneous equations: We could find the solution vector using a matrix inverse: However, it is better to use the linalg.solve command which can be faster and more numerically stable. In this case it however gives the same answer as shown in the following example: >>> import numpy as np >>> from scipy import linalg >>> A = np . array ([[ 1 , 2 ],[ 3 , 4 ]]) >>> A array([[1, 2], [3, 4]]) >>> b = np . array ([[ 5 ],[ 6 ]]) >>> b array([[5], [6]]) >>> linalg . inv ( A ) . dot ( b ) #slow array([[-4. ], ...

Solved! Trouble solving of Bluetooth Set up new device failed error An error of Bluetooth device pairing of Ubuntu 10 04 Lucid Lynx

Image
Solved! Trouble solving of Bluetooth Set up new device failed error An error of Bluetooth device pairing of Ubuntu 10 04 Lucid Lynx Personal File Sharing Preferences menu Nokia 2330-c mounted as a removable media Set up completed The key is in "introducing" our cellphone first to the system Previous days, I was very annoyed by an error (perhaps that was a bug) of Ubuntu 10.04 Lucid Lynx. The error was I couldnt make bluetooth pairing between my computer and my cellphone. I often use bluetooth connection to transfer any files, from and to computer-cellphone (photos, Java applications). In the previous versions of Ubuntu (9.04 and the below), I never get any trouble to make bluetooth pairing. But in Ubuntu Lucid, I got my pairing process failed in the Set up new device step. For so many times Id tried, but I always got an error. Again and again I tried to make pairing and always been failed. I didnt know where the mistake was, but when I followed the wizard, I always g...