Regular Expressions
Found a nifty little tool to help create regular expressions. Regexcreator is small and simple to use. Easy to create and test any regular expressions that you need. Well worth downloading.
Found a nifty little tool to help create regular expressions. Regexcreator is small and simple to use. Easy to create and test any regular expressions that you need. Well worth downloading.
After trying to receive a message from a service broker queue for a while I found that it will not throw an error if your database isn’t setup correctly. After looking in the table where the messages are stored before they are sent to the queue the solution was easily found
The Error
An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
Where messages are stored before they are sent to queue, and any exceptions which occurred
select * from sys.transmission_queue
Fix
USE [database_name] ALTER DATABASE [database_name]SET TRUSTWORTHY ON ALTER DATABASE [database_name] SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE ALTER AUTHORIZATION ON DATABASE::[database_name] TO [SA];
Developer.com provides a good simple introduction to Service Broker
http://www.developer.com/db/article.php/3640771
Wireless
1. Using the contents of the from ’Pem File Contents’ and create a file called uob.pem
2. Select ’University of Brighton’ from the wireless networks list
3. Make sure the settings are as follows
a) Wireless Security: WPA & WPA2 Enterprise
b) Authentication: Protected EAP (PEAP)
c) PEAP Version: Version 0
d) Inner Authentication: MSCHAPv2
e) User Name: Your university User Name
f) Password: Your university Password
g) CA Certificate: Select the file uob.pem file created in step 1.
4. Press the ’Apply’ button
5. You should now be connected to the ’University of Brighton’ wireless network.
Proxy Settings
1. Open the Network Proxy Settings (System – Preferences – Internet and Network -
Network Proxy)
2. Select the ’Automatic proxy configuration option
3. Enter the following url ’http://www.brighton.ac.uk/proxy.pac’
4. Press the Close Button
−−−−−BEGIN CERTIFICATE−−−−− MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYD VQQKEw9HVEUgQ29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNv bHV0aW9ucywgSW5jLjEjMCEGA1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJv b3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEzMjM1OTAwWjB1MQswCQYDVQQGEwJV UzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQLEx5HVEUgQ3liZXJU cnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0IEds b2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrH iM3dFw4usJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTS r41tiGeA5u2ylc9yMcqlHHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X4 04Wqk2kmhXBIgD8SFcd5tB8FLztimQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAG3r GwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMWM4ETCJ57NE7fQMh017l9 3PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OFNMQkpw0P lZPvy5TYnh+dXIVtx6quTx8itc2VrbqnzPmrC3p / −−−−−END CERTIFICATE−−−−−
Shapes can now be drawn and connected together. When a shape is connected a line from the centre of the shape will draw to the centre of the connected shape. Moving of shapes redraws the line correctly.
The next step is to change the shape matching method. The current method is to take the points in the line and match the pattern against an algorithm. However this is inflexible and will be changed to a neural network method so that shapes that are slightly off can be matched. This will also allow for the easy creation of new shapes