Saturday, August 27, 2016

WhatsApp new terms and condition

WhatsApp will share the mobile number with its parent company facebook.It is now showing user agreement for uses's consent for doing this.The advantage of doing this is , facebook will be able to show more relevant ads to us.

In some way this is good as most buiness ads relevant for us will be shown. If you did not intent to share the mobile number to facebook, and agreed to this message on whatsapp inadvetently , you can turn this off within 30 daya by going to the Whatsapp Settings-> Account and untick ShareMyAccount.

Sunday, August 21, 2016

Medal Standing 2016 RIO Olympics

Country   Position        Gold        Silver     Bronze        Total
1
United States 46 37 38 121
2
Great Britain 27 23 17 67
3
China 26 18 26 70
4
Russia 19 18 19 56
5
Germany 17 10 15 42
6
Japan 12 8 21 41
7
France 10 18 14 42
8
South Korea 9 3 9 21
9
Italy 8 12 8 28
10
Australia 8 11 10 29
11
Netherlands 8 7 4 19
12
Hungary 8 3 4 15
13
Brazil 7 6 6 19
14
Spain 7 4 6 17
15
Kenya 6 6 1 13
16
Jamaica 6 3 2 11
17
Croatia 5 3 2 10
18
Cuba 5 2 4 11
19
New Zealand 4 9 5 18
20
Canada 4 3 15 22
21
Uzbekistan 4 2 7 13
22
Kazakhstan 3 5 9 17
23
Colombia 3 2 3 8
24
Switzerland 3 2 2 7
25
Iran 3 1 4 8
26
Greece 3 1 2 6
27
Argentina 3 1 0 4
28
Denmark 2 6 7 15
29
Sweden 2 6 3 11
30
South Africa 2 6 2 10
31
Ukraine 2 5 4 11
32
Serbia 2 4 2 8
33
Poland 2 3 6 11
34
North Korea 2 3 2 7
35
Belgium 2 2 2 6
35
Thailand 2 2 2 6
37
Slovakia 2 2 0 4
38
Georgia 2 1 4 7
39
Azerbaijan 1 7 10 18
40
Belarus 1 4 4 9
41
Turkey 1 3 4 8
42
Armenia 1 3 0 4
43
Czech Republic 1 2 7 10
44
Ethiopia 1 2 5 8
45
Slovenia 1 2 1 4
46
Indonesia 1 2 0 3
47
Romania 1 1 3 5
48
Bahrain 1 1 0 2
48
Vietnam 1 1 0 2
50
Chinese Taipei 1 0 2 3
51
Bahamas 1 0 1 2
51
Côte d'Ivoire 1 0 1 2
51
Independent  1 0 1 2
54
Fiji 1 0 0 1
54
Jordan 1 0 0 1
54
Kosovo 1 0 0 1
54
Puerto Rico 1 0 0 1
54
Singapore 1 0 0 1
54
Tajikistan 1 0 0 1
60
Malaysia 0 4 1 5
61
Mexico 0 3 2 5
62
Algeria 0 2 0 2
62
Ireland 0 2 0 2
64
Lithuania 0 1 3 4
65
Bulgaria 0 1 2 3
65
Venezuela 0 1 2 3
67
India 0 1 1 2
67
Mongolia 0 1 1 2
69
Burundi 0 1 0 1
69
Grenada 0 1 0 1
69
Niger 0 1 0 1
69
Philippines 0 1 0 1
69
Qatar 0 1 0 1
74
Norway 0 0 4 4
75
Egypt 0 0 3 3
75
Tunisia 0 0 3 3
77
Israel 0 0 2 2
78
Austria 0 0 1 1
78
Dominican Republic 0 0 1 1
78
Estonia 0 0 1 1
78
Finland 0 0 1 1
78
Morocco 0 0 1 1
78
Moldova 0 0 1 1
78
Nigeria 0 0 1 1
78
Portugal 0 0 1 1
78
Trinidad & Tobago 0 0 1 1
78
UAE  0 0 1 1

Common Acronyms /Abbreviations 

E-mail acronyms :

  • R.S.V.P. – This acronym means "Répondez s'il vous plait," French for "respond, if you please." It is often used on invitations to parties and special events, and is intended (as it says) to be responded to with a "yes, we will attend," or "no, we will not."
  • P.S. – Means "post script." At the end of a letter, people will often include a P.S. to include an extra thought that was intended to be included in the letter, but forgotten. Using a P.S. was more common in typewritten letters, when you couldn’t go back and add a sentence in the body of a letter.
  • A.S.A.P. – "As soon as possible," used when encouraging someone to respond to a request without delay.
  • E.T.A. – This acronym means "estimated time of arrival," and is used as a guess for when one expects to arrive while traveling.
  • B.Y.O.B. – "Bring your own bottle" is used for parties where guests are expected to bring their own beverages.
  • D.I.Y. – This acronym stands for "do it yourself," which means creating something on your own.  It is often used for crafts and home repairs.

  • Chat:

  • ACE  - a cool experience
  • AD - awesome dude
  • AFAIK - as far as I know
  • AFK - away from keyboard
  • ANI - age not important
  • BRB - be right back
  • CUL - see you later
  • CWYL - chat with you later
  • IIRC - if I recall/remember correctly
  • IQ - ignorance quotient
  • LOL - laugh-out-loud
  • NP - no problem
  • ROFL - rolling on the floor laughing
  • TY - thank you
  • WC - wrong conversation

  • Oxford Abbreviation  List 

    http://public.oed.com/how-to-use-the-oed/abbreviations/

    Wednesday, February 5, 2014

    Insert a ckeckmark symbol in word

    Insert a check mark symbol in Word

    You can easily insert a check mark symbol in your Word documents and Excel workbooks. The Wingdings® font that most Microsoft Windows® users have installed enables you to choose between several symbols that can be used as a check mark. The most common symbols include:
    Check mark symbol X symbol Checked box symbol X in box symbol

    Insert a symbol by using the Symbol command

    1. On the Insert tab, in the Symbols group, click Symbol.
    2. In the Symbol dialog box, on the Symbols tab, in the Font box, click Wingdings.
    3. Scroll to the bottom of the list, where you will find several common check mark symbols. Double-click the symbol that you want.

    Insert a symbol by using its character code

    You can also use the character code of the symbol as a keyboard shortcut. For example, to insert the check mark symbol, change the font to Wingdings, and then press and hold ALT while typing 0252 on the numeric keypad.

    Thursday, January 31, 2013

    Build tools and scripting languages

    Nant reference
    http://nant.sourceforge.net/release/0.85/help/tasks/index.html

    Ant Reference
    http://ant.apache.org/manual/index.html

    MSBuild
    http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx

    Nmake (Makefile):
    http://msdn.microsoft.com/en-us/library/dd9y37ha.aspx

    MS-DOS command line reference 
    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    Cruise control.NET
    http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET

    Watin
    http://watin.org/

    Perl reference
    http://perldoc.perl.org/index-language.html

    PHP Reference
    http://php.net/manual/en/language.references.php

    Python reference
    http://docs.python.org/2/reference/




    Nant: Exception getting ConfigurationFileLocation


    After downloading Nant 0.91, I'm getting some rather cryptic configuration errors relating to configuration or security (see below).
    I'm trying to simply upgrade my Nant executables from 0.86 to 0.91.
    How can I resolve the issues below when building on a Windows 7 machine?
    log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocation. Must be able to resolve ConfigurationFileLocation when ConfigFile and ConfigFileExtension properties are not set. System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) at log4net.Util.SystemInfo.get_ConfigurationFileLocation() at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(Assembly sourceAssembly, ILoggerRepository targetRepository)
    The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: Internet
    Unhandled Exception: System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'nant'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at NAnt.Console.ConsoleStub.Framework.GetRuntimeFramework() at NAnt.Console.ConsoleStub.Main(String[] args


    I found that the problem was Windows 7 security related in that the downloaded NAnt 0.91 zip file needed additional security related configuration to be performed: before extracting, one must right click on the zip file, select Properties and under the General tab, click the button labelled Unblock, then click OK on the Properties window. Now, extract the file to your desired location, ensure it is on the system path, open a new command line and NAnt should run successfully.

    Wednesday, December 12, 2012

    C# File Browser

    LUT within DICOM images

    Lookup Tables

    There are 4 types of lookup table (LUT) which can be found within DICOM images are part of the standard, and one further type which exists in DicomObjects.

    Palette Colour LUTs

    These are only used when the Photometric_Interpretation is PALETTE COLOR. They can be 8 or 16 bit, and 3 copies exist, one each for red, blue and green.

    Main DICOM LUTs

    Modality LUT

    The Modality LUT transformation transforms the manufacturer dependent pixel values into pixel values which are meaningful for the modality and which are manufacturer independent.
    In the case of a linear transformation, the Modality LUT is described by the Rescale Slope (0028, 1053) and Rescale Intercept (0028, 1052). In the case of a non-linear transformation, the Modality LUT is described by the Modality LUT Sequence (0028, 3000).
    As Modality LUT is a pre-windowing transformation, Image's Window Center and Width can still be changed after Modality LUT is applied.

    Values of Interest (VOI) LUT

    The Value Of Interest(VOI) LUT transformation transforms the modality pixel values into pixel values which are meaningful for the user or the application.
    In the case of a linear transformation, the VOI LUT is described by the Window Center (0028, 1050) and Window Width (0028, 1051). In the case of a non-linear transformation, the VOI LUT is described by the VOI LUT Sequence (0028, 3010).
    In general, VOI LUT is the best supported. It serves as a Replacement for Window Center and Width therefor it is NOT technically allowed to window an image with a VOI LUT applied.

    Presentation LUT

    The Presentation LUT transformation transforms the pixel values into P-Values, a device indenpendent perceptually linear space. It may be an identity function if the output of the VOI LUT transformation is in P-Values.
    In the case of a linear transformation, the Presentation LUT is described by teh Presentation LUT Shape (2050, 0020). In the case of a non-linear trnsformation, the Presentation LUT is described by the Presentation LUT Sequence (2050,0010).
    Please note, NOT every Viewer supports all the LUTs. VOI LUT is best supported, as we mentioned above, then comes the Modality LUT and finally the Presentation LUT (This is from our experience). Even if all are individually supported, some viewer may not "chain" them correctly. For those reasons, sometimes it is better to apply any LUTs that your images need into the Pixel Data (i.e. replace the pixel data by a post-LUT equivalent).

    DicomObjects ColourTable

    This 2D-Array property allows a false-colour lookup table to be applied to a monochrome image. This property is used as a Final LUT when the image is being rendered for any purposes. The first dimension of the array must have lower bound of 1 and upper bound of 3. The second dimension of the array may be any size and may have any maximum value (up to 64K), as both input and output are sclaed to filt the required ranges.

    From:http://www.medicalconnections.co.uk/kb/Lookup_Tables