[English] - How to pronouncing /s/ and /ed/

January 24, 2018 |

I. How to pronouncing -s/-es ending
1.1 - Pronouncing is /s/ at the end with a soundless consonant: /p/, /t/, /k/, /f/, /θ/
Example:
  • Develops  /dɪˈveləpS/
  • Meets       /miːtS/
  • Books      /bʊkS/
  • Laughs    / læfS/
  • Months   /mʌnθS/

1.2 - Pronouncing is /z/ at the end with a sound consonant and vowels:  /b/, /d/, /g/, /v/, /ð/, /m/, /n/, /ŋ, /l/, /r/
Example:
  • Pubs          /pʌbZ/
  • Birds         /bɜːrdZ/
  • Buildings  /ˈbɪldɪŋZ/
  • Lives         / lɪvZ/
  • Breathes    /briːðZ/
  • Rooms      /ruːmZ/
  • Means       /miːnZ/
  • Things      /θɪŋZ/
  • Fills          /fɪlZ/
  • Cars          /kɑːrZ/
  • Dies          /daɪZ/
  • Windows   /ˈwɪndoʊZ/

1.3 - Pronouncing is /iz/ at the end with a windy consonant: /s/, /z/, /ʃ/, /ʒ/, /tʃ/, /dʒ/
Example:
  • Kisses      /'kɪsIZ/
  • Dances     /'dænsIZ/
  • Boxes       /'bɑːksIZ/
  • Roses       /'roʊzIZ/
  • Dishes      /'dɪʃIZ/
  • Rouges     /'ruːʒIZ/
  • Watches   /'wɑːtʃIZ/
  • Changes   /'tʃeɪndʒIZ/

II. How to pronouncing -ed ending
1.1 - Pronouncing is /id/ at the end with a consonant: /t/, /d/
Example:
  • Wanted         /ˈwɑːntID/
  •  Needed         /'niːdID/
  • Supported     /səˈpɔːrtID/

1.2 - Pronouncing is /d/ at the end with a sound consonant: /b/, /g/, /v/, /z/, /ʒ/, /dʒ/, /ð/, /m/, /n/, /ŋ, /l/, /r/ and vowels.
Example:
  • Robbed        /rɑːbD/    
  • Hugged        /hʌgD/    
  • Loved          /lʌvD/    
  • Closed         /kloʊzD/    
  • Rouged        /ruːʒD/    
  • Changed       /tʃeɪndʒD/    
  • Breathed       /briːðD/    
  • Climbed        /klaɪmD/    
  • Mentioned    /ˈmenʃnD/    
  • Banged         /bæŋD/    
  • Travelled     /ˈtrævlD/    
  • Entered        /ˈentərD/    
  • Cried           /kraɪD/   

1.2 - Pronouncing is /t/ at the end with a soundless consonant: /p/, k/, /f/, /s/, /ʃ/, /tʃ/
  • Stopped        /stɑːpT/   
  • Looked        /lʊkT/   
  • Laughed        /læfT/   
  • Sentenced    /ˈsentənsT/   
  • Washed        /wɑːʃT/   
  • Watched        /wɑːtʃT/    
Read more…

[Java] - The diferrence ==, equals

January 22, 2018 |
What is the difference between " ==" operator, .equals() and compare().

1. The difference == and .equals method

+ The == operator use for reference compare (Address Compare).
+ The .equals method use content comparison.

Example:
        String helloWorld = new String("HELLO");
        String helloWorld1 = new String("HELLO");
      
        String s1 = "HELLO";
        String s2 = "HELLO";
        System.out.println(helloWorld == helloWorld1);
        System.out.println(helloWorld.equals(helloWorld1));
      
        System.out.println(s1 == s2);
        System.out.println(s1.equals(s2)); 


Results:
false
true
true
true





Read more…

[English] - Vị trí của từ loại

January 22, 2018 |
1. Noun
- Sau a, an, this, that, these, those,...
- Sau my, his, her,...
- Sau many, some, any,...

2. Adjective
- Sau động từ to be
- Trước danh từ và phải bổ nghĩa cho danh từ đó.
- Sau các từ nhận thức tri giác: look, feel, seem, smell, taste, find, sound 
- Sau stay, remain, become

3. Adv
- Đứng đầu câu và phải sau dấu ,
- Bổ nghĩa cho động từ và đứng trước/sau động từ.
- Bổ nghĩa cho trạng từ và đứng trước trạng từ mà nó bổ nghĩa.

4. Verb
- Đứng sau chủ ngữ
- Đứng sau động từ chỉ tần suất: always, sometime, usualy,...


Read more…

[Tomcat Server] - How to kill a service when happened a crash problem

January 10, 2018 |

Issue description: Sometime you restart or stoping apache service but that still restarting or stoping. It's not finish. 
Apache service was crashed. The tips below help you fix it.

Step 1: Open command line
Step 2: Type the following command line below. Purpose find PID number of apache service.
Locate service

Command line prompt


+ Show Locate Service Detail

sc queryex <service_name>

Example: sc queryex LocateMCP

+ Kill the Apache Service process.
taskkill /PID <PID> /F
Example: taskkill /PID 4496 /F

Read more…