Posts

Different States of Mind – Beta, Alpha, Theta, Delta

Image
i read a article about above topic and decided to share some knowledge with you.. Know the relationship between the mind and the world with which it interacts. . (The awareness or perception of something by a person.) 1. Beta: This is where our mind usually operates in daily life. In such a state we have full conscious awareness and attention of everything around us and usually only one side of brain is operating. 2. Alpha: A mild daydream or light relaxation state. Alpha is typified by partial conscious awareness and partial subconscious predominance at the same time. Alpha promotes more of the left side of the brain to be used for processing. 3. Theta: A Deep relaxation state where the conscious mind is for the most part, ‘switched off’. Theta is where ideas, visualizations and suggestion are more likely to enter the subconscious mind and consciously we become less aware of what is going on around us. 4. Delta: An Extremely deep relaxation/sleep state with complete su...

MDK Hospital opened in Horana

Image
Horana is getting a brand new private hospital! The M.D.K Healthcare Center & Hospital has just opened its doors on Anguruwathota Road, right next to the HNB bank branch. For years, many had to travel to Colombo for certain medical treatments, but hopes with new private hospital this will change. This new hospital, built by local businessman Mr. M.D. Piyananda Kularathna, comes with all the modern medical equipment we've been hoping for. It's wonderful to see such a major investment in Horana community's health. To makes this even better, I hope they have brought in highly skilled doctors and medical staff. No more long trips to Colombo for routine treatments! The hospital looks quite impressive too - modern and clean, just what you'd expect from a proper healthcare centre. The location is perfect as well. Being on Anguruwathota Road means it's easy to find and get to, whether you're coming from the town centre or surrounding areas. I've already notice...

Horana - Colombo road planned to be rehabilitated

Horana - Colombo (120 bus route)  , Horana to Kahathuduwa (  access roads to Southern Expressway) is planned to be rehabilitated The government has been able to obtain financial assistance of Rs 9,348.61 mn (USD 85.0 mn) from the Asian Development Bank (ADB) to rehabilitate roads connecting the Southern Expressway (SE). The total estimated cost for rehabilitation of the roads is Rs 11,613 mn (USD 105.6 mn). Six access roads to SE are expected to be rehabilitated under the above project. Under the second phase of National Highways Sector Project 62 kms of national highway road sections on Matara-Akuressa (3.40 km), Hikkaduwa - Baddagana (14.34 km), Horana - Anguruwatota - Aluthgama (23.48 km), Katukurunda - Naboda (2.72 km), Kirulapona - Godagama (5.33 km) and Colombo - Horana (12.7 km) are planned to be rehabilitated. These selected 6 road sections usually experience high traffic volume. Therefore, the rehabilitation of these 6 road section will facilitate easier ...

Oracle database connection by Java - timezone error

Error I got : Error from db_connection.java -->> java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region  not found ORA-00604: error occurred at recursive SQL level 1ORA-01882: timezone region  not found Prev code:     public Connection getOracle() throws Exception {         Connection conn = null;         Class.forName("oracle.jdbc.driver.OracleDriver");         conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:tap", "username", "pw");         return conn;    } new Code:     public Connection getOracle() throws Exception {         TimeZone timeZone = TimeZone.getTimeZone("Asia/Kolkata");         TimeZone.setDefault(timeZone);         Connection conn = null;         Class.forName("oracle.jdbc.driv...

my tribute to Dennis Ritchie

News: Dennis Ritchie, father of C programming language and Unix, dies at 70 !! ;( :'( Dennis MacAlistair Ritchie. The man who created C with Kevin Thompson. Who helped develop UNIX. One of the greatest computer engineers ever. here i text some words to remind our memories for this great technologist... We need to remember that C and UNIX spawned a revolution in the computer industry. Every subsequent software owes something to these two... his words about them: C++ and Java, say, are presumably growing faster than plain C, but I bet C will still be around. - Dennis Ritchie UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. Dennis Ritchie For those of us running Mac OS X, iOS, Android and many other non-Windows OS, we have him to thank. Many of those running Windows do too, as many of the applications you're using were written in C..

Escaping special characters in Java replace & > < \

i'm doing part in ETA system, which is a Webservice... So it was needed to replcae some characters form XML data. We have done this before sevaral time inside some methods... But this time as the best practice i write a simple method to do this... hope it might useful to you: Character Reference & &amp; < &lt; > &gt; " &quot; ' &apos; import java.text.CharacterIterator; import java.text.StringCharacterIterator; public class EscapeCharacter {      public static void main(String[] args) {         String str = " sdas\\d\\asa-&-adas-&-das-<-da->-sa ";         System.out.println(str);                         System.out.println(forXML(str));    ...

linux Directory permissions what real means of x

As i faced you might facing difficulties when understanding "X" permission for directory in linux. Read following and get some idea: In *nix systems directories are also files and thus use the same permission system as for regular files.  Note permissions assigned to a directory are not inherited by the files within that directory. Because directories are not used in the same way as regular files, the permissions work slightly (but only slightly) differently.  An attempt to list the files in a directory requires read permission for the directory, but not on the files within.  An attempt to add a file to a directory, delete a file from a directory, or to rename a file, all require write permission for the directory, but (perhaps surprisingly) not for the files within.  Execute permission doesn't apply to directories (a directory can't also be a program).  But that permission bit is reused for directories for other purposes. Execute permi...