Showing posts with label IT Tutorial. Show all posts
Showing posts with label IT Tutorial. Show all posts

November 29, 2009

Core i7 'Magic' Notebook Being PC


The view of the limitations of notebooks to run applications 'weight' seems to be unbroken. Manufacturer of micro-architecture giant Intel has poured core i7 officially to break the stigma.

Processor-based Intel Core i7 was no doubt about its performance. The previous processor has been released for the line of desktop computers (PCs) was transformed into a processor for notebooks.
sumber dan baca selengkapnya disini

March 16, 2009

Tips Merawat Komputer

Artikel ini bisa dijadikan panduan sederhana untuk merawat komputer, mudah - mudahan saja bermanfaat. Silahkan membaca/mengikuti tips merawat komputer, di bawah ini

1. Defrag harddisk secara berkala. Fungsi defrag adalah untuk menata dan mengurutkan file-file harddisk berdasarkan jenis file/data sedemikian rupa sehingga akan mempermudah proses read/write sehingga beban kerja akan lebih ringan yg akhirnya dapat memperpanjang umur harddisk. Caranya klik menu Start > Program > Accesories > System Tool > Disk DefragmenterSaat menjalankan fungsi ini tidak boleh ada program lain yg berjalan termasuk screensaver karena akan mengacaukan fungsi defrag ini.

2. Aktifkan screensaver Selain bersifat estetis, screensaver mempunyai fungsi lain yg penting. Monitor CRT juga televisi menggunakan fosfor untuk menampilkan gambar. Kalau monitor menampilkan gambar yg sama untuk beberapa saat maka ada fosfor yang menyala terus menerus. Hal ini dapat mengakibatkan monitor bermasalah yaitu gambar menjadi redup/kurang jelas. Lain halnya jika monitor Anda adalah LCD, LED yg sudah dilengkapi dengan energy saving, maka screensaver tidak terlalu dibutuhkan lagi.Cara+ mengaktifkan screensaver dapat dilakukan dengan banyak cara, salah satunya klik Start > Control Panel > Display > klik tab screensaver, kemudian pilih sesuai selera Anda.

3. Ventilasi yang cukup Tempatkan monitor maupun CPU sedemikian rupa sehingga ventilasi udara dari dan ke monitor / CPU cukup lancar. Ventilasi yg kurang baik akan menyebabkan panas berlebihan sehingga komponen/rangkaian elektronik di dalamnya akan menjadi cepat panas sehingga dapat memperpendek umur komponen tsb. Oleh karena itu usahakan jarak antara monitor/CPU dengan dinding/tembok minimal 30 cm. Kalau perlu pasang kipas angin di dalam ruangan.

4. Pakailah UPS atau stavolt.Pakailah UPS untuk mengantisipasi listrik mati secara tiba-tiba yg dapat mengakibatkan kerusakan pada harddisk. Kalau terpaksa tidak ada UPS, pakailah Stavolt untuk mengantisipasi naik turunnya tegangan listrik.

5. Tutup / close program yg tidak berguna Setiap program yg diload atau dijalankan membutuhkan memory (RAM) sehingga semakin banyak program yg dijalankan semakin banyak memory yg tersita. Hal ini selain dapat menyebabkan komputer berjalan lambat (lelet) juga beban kerja menjadi lebih berat yg akhirnya dapat memperpendek umur komponen/komputer.

6. Install program antivirus dan update secara berkala Untuk dapat mengenali virus/trojan2 baru sebaiknya update program antivirus secara berkala. Virus yg terlanjur menyebar di komputer dapat membuat Anda menginstall ulang komputer. Hal ini selain membutuhkan biaya juga akan menyebabkan harddisk Anda akan lebih cepat rusak dibanding apabila tidak sering diinstall ulang.

7. Bersihkan Recycle Bin secara rutinSebenarnya file/folder yg kita hapus tidak langsung hilang dari harddisk karena akan ditampung dahulu di Recycle Bin ini dengan maksud agar suatu saat apabila Anda masih membutuhkannya dapat mengembalikan lagi. Recycle Bin yg sudah banyak juga akan menyita ruang harddisk yg dapat menyebabkan pembacaan harddisk jadi lelet.Caranya jalankan Windows Explorer > klik Recycle Bin > klik File > klik Empty Recyle BinAtau Anda dapat menjalankan fungsi Disk Cleanup Caranya Klik Start > Program > Accessories > System Tool > Disk Cleanup > kemudian pilih drive yg mau dibersihkan > setelah itu centangilah opsi Recycle Bin kalau perlu centangi juga yg lain (seperti temporary file, temporary internet file), setelah klik OK.

8. Jangan meletakkan Speacker Active terlalu dekat dengan monitorKarena medan magnet yang ada pada speacker tersebut akan mempengaruhi monitor yaitu warna monitor menjadi tidak rata atau belang-belang.

9. Uninstall atau buang program yg tidak bergunaRuang harddisk yg terlalu banyak tersita akan memperlambat proses read/write harddisk sehingga beban kerjanya akan lebih berat sehingga harddisk akan cepat rusak.

10. Bersihkan motherboard & periferal lain dari debu secara berkalaSetidaknya enam bulan sekali hal ini harus dilakukan. Buka casingnya terlebih dahulu kemudian bersihkan motherboard dan periferal lain (RAM, Video Card, Modem, Sound Card, CDR/CDRW/DVRW, TV Tuner) dengan sikat halus. Pada saat komputer tidak digunakan tutuplah komputer (monitor, CPU, keyboard/mouse) dengan cover sehingga debu tidak mudah masuk ke dalam komputer.

11. Pasang kabel ground. Apabila casing nyetrum, ambil kabel dengan panjang seperlunya, ujung satu dihubungkan dengan badan CPU (pada casing) sedangkan ujung yg lain ditanam dalam tanah. Hal ini akan dapat menetralkan arus listrik yg “nyasar” sehingga dapat membuat komponen elektronik lebih awet.

November 10, 2008

Google Chrome

Google Chrome: a new web browser for Windows


Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

ref. soft-download-info

Hiding Variable

You can hide a variable sources code by shadowing it, that is, by redefining it with a variable of the same sources code name. You can shadow the variable you want to hide in two ways:

• Shadowing Through Scope. You can shadow it through scope by redeclaring it inside a subregion of the region containing the variable you want to hide.
• Shadowing Through Inheritance. If the variable you want to hide is defined at class level, you can shadow it through inheritance by redeclaring it with the Shadows keyword in a derived class.

Two Ways to Hide a Variable
To hide a variable by shadowing it through scope
1. Determine the region defining the variable you want to hide, and determine a subregion in which to redefine it with your variable.

Variable's region Allowable subregion for redefining it
Module A class within the module
Class A subclass within the class
A procedure within the class

2. You cannot redefine a procedure in a block within that procedure, for example in an If...End If construction or a For loop.

3. Create the subregion if it does not already exist.

4. Within the subregion, write a Dim(statement - Visual Basic) declaring the shadowing when code inside the subregion refers to the variable name, the compiler resolves the variable reference to the shadowing variable The following example illustrates shadowing through scope, as well as a reference that bypasses the shadowing.

sources code :

Module shadowByScope

' The following statement declares num as a module-level variable.

Public num As Integer

Sub show()

' The following statement declares num as a local variable.

Dim num As Integer

' The following statement sets the value of the local variable.

num = 2

' The following statement displays the module-level variable.

MsgBox(CStr(shadowByScope.num))

End Sub

Sub useModuleLevelNum()

' The following statement sets the value of the module-level variable.

num = 1

show()

End Sub
End Module

The preceding example declares the variable num both at module level and at procedure level (in the procedure show). The local variable num shadows the module-level variable num within show, so the local variable is set to 2. However, there is no local variable to shadow num in the useModuleLevelNum procedure. Therefore, useModuleLevelNum sets the value of the module-level variable to 1.

The MsgBox call inside show bypasses the shadowing mechanism by qualifying num with the module name. Therefore, it displays the module-level variable instead of the local variable.
To hide a variable by shadowing it through inheritance

1. Be sure the variable you want to hide is declared in a class, and at class level (outside any procedure). Otherwise you cannot shadow it through inheritance.

2. Define a class derived from the variable's class if one does not already exist.

3. Inside the derived class, write a Dim statement declaring your variable. Include the Shadows keyword in the declaration.


When code in the derived class refers to the variable name, the compiler resolves the reference to your variable.

The following example illustrates shadowing through inheritance. It makes two references, one that accesses the shadowing variable and one that bypasses the shadowing.

sources code :

Public Class shadowBaseClass

Public shadowString As String = "This is the base class string."

End Class

Public Class shadowDerivedClass

Inherits shadowBaseClass

Public Shadows shadowString As String = "This is the derived class string."

Public Sub showStrings()

Dim s As String = "Unqualified shadowString: " & shadowString _

& vbCrLf & "MyBase.shadowString: " & MyBase.shadowString

MsgBox(s)

End Sub
End Class

The preceding example declares the variable shadowString in the base class and shadows it in the derived class. The procedure showStrings in the derived class displays the shadowing version of the string when the name shadowString is not qualified. It then displays the shadowed version when shadowString is qualified with the MyBase keyword.