Ahad, 22 Jun 2008

How to build System Information Usefull?

This written for our study case to improve our knowledge about procedure in provide system information usefull for customer. Thanks a lof for my university-level instructor at Amikom Sir Bimo Sunarfri Hantono M.Eng

To make a system information that usefull you must look for what the functional the application which will build and what the function will be helpfull. This talk how about make application which can operational by operator system and how much that application can help they works. Whats do you must know?
  1. Functional Requirements. The functional requirements is statements of services the system should provide, how the system should react to particular inputs and how the system should behave in particular situation. The example: the system shall provide appropriate viewer for the user to read the documentation in the document store.
  2. Non-functional requirements, its the constraint on the service or functions offered by system such as timing constraints, constraints development process, standard and etc.
  3. User Requirements is statements in natural language plus diagram of the service the system provide and all its constraints. Written for costumers or operators system. (such as documentation, user manual)
  4. System Reuquirements is a structured documentation, detailed description of the system's functions, service and operational constraints. Defines what should be implemented so may be part of a contract between client and contractor
  5. Interface Specification, most system must operate with other system and the operating interfaces must be specified as part of the requirements Three types of interface may have to be defined: procedural interface, data structurees that are exchanged, data representation.
  6. The Software Requirements Documents is the official statement of what is required of the system developers. Should include both a definition of user requirements and a specification of the system requirements. It is a not a design document. As far as  possible, it should set of what the system should do rather than how it should do it.
  7. The Library System is a library that provide a single interface to a number of databases of article in different libraries
  8. Goal and Requirement are helpful to developers as they convey the intentions of the system users. such as a general intention of the user such as ease of use by experienced controlled and should be organised in such a way that user errors are minimised
Problem with Natural Language

In the written user manual or documentation for customer or user, we must use natural language in order they will understand, ussually we meet some problem with natural language, such as
  • Lack of clarity. Precision is difficult without making the document, difficult to read
  • Requirement confusion. Functional and non-functional requirement trend to be mixed-up
  • Requirement amalgamation. Several different requirements may be expressed together.
They all must be avoid.

4 Point tips for writting requirements
  • Use language in consistent way. Use shall for mandatory requirements, should for desirable requirements
  • Invent a standard format and use its for all requirements
  • Use Text highlighting to identity key parts of the requirements
  • Avoid the use of computer jargon
Problems with NL specification
  • Ambiguity
    The readers and writers of the requirement must interpret thesame words in the same way. NL is naturally ambiguous so this is very difficult.
  • Over-flexibility
    The same thing may be said in a number of different ways in thespecification.
  • Lack of modularisation
    NL structures are inadequate to structure system requirements.

Graphical models

Graphical models are most useful when you need to show how state changes or where you need to describe a
sequence of actions.



Key points
  • Requirements set out what the system should do and define constraints on its operation and implementation
  • Functional requirements set out services the system should provide.
  • Non-functional requirements constrain the system being developed or the development process.
  • User requirements are high-level statements of what the system should do. User requirements should be written using natural language, tables and diagrams.
  • System requirements are intended to communicate the functions that the system should provide.
  • A software requirements document is an agreed statement of the system requirements.
  • The IEEE standard is a useful starting point for defining more detailed specific requirements standards.





Selasa, 17 Jun 2008

Temperature Monitoring Program in VB 6.0

How to make a application which can monitoring temperature that connected with several component that can be easy to assembly. It's might be help you to make it, its include chart graph indicator. This application designed to response indoor and outdoor temperature. You can download code here : Suhu monitoring

Membuat Program Chatting Sendiri di VB 6

Ini adalah dasar dari pengembangan aplikasi chatting yang biasa digunakan untuk berkomunikasi antar komputer. Penerapan aplikasi ini yang sedang kita bahas disini menggunakan komponen WinSock pada Visual Basic 6.0 yang telah terintegrasi didalamnya. Tentunya pada implementasi aplikasi chatting disini harus memiliki lebih dari 1 socket yang mana socket yang 1 digunakan untuk listening dan yang lain untuk menghubungi program yang lain. Komunikasi socket ini membutuhkan sebuah port untuk berkomunikasi, layaknya sebuah gerbang untuk lalulintas agar si A dapat pergi ketempat si B. Port ditentukan dengan angka, tentunya port tersebut anda sendirilah yang menentukan untuk berkomunikasi. Namun ada baiknya ada mengenal terlebih dahulu beberapa port yang telah menjadi standarisasi penggunaannya, seperti port FTP pada port 20/21, port TCP/UPD pada port 19,  POP3 port 110, HTTPS port 443 dan masih banyak lagi. Pertama-tama agar aplikasi chat ini dapat berkomunikasi tentunya socket harus membuka sebuah port, sebagai pintu gerbang bagi program lainnya dapat berkomunikasi dengan program ini. Baiklah tanpa perlu banyak berbasa-basi lagi, mulai saya sedikit beri contoh:
Option Explicit

Private Sub Form_Load()
 
 'inisialisasi sock untuk membuka port,
  'pertama cek apakah socket keadaan terbuka
  'jika iya maka socket ditutup, kemudian
  'buka port 1234 untuk berkomunikasi

  If Winsock1.State = 2 Then Winsock1.Close
  Winsock1.LocalPort = "1234"
  Winsock1.Listen
End Sub
________________________________________________________________________

'tombol perintah untuk koneksi ke komputer yang lain
'di alamat 
192.168.100.2
'dengan port 1234

Private Sub Command2_Click()
On Error GoTo out
Winsock2.Close
Winsock2.Connect "192.168.100.2",1234
Exit Sub
out:
MsgBox "Gagal kirim pesan!", vbCritical
End Sub

________________________________________________________________________

'tombol perintah untuk mengirim data kepada socket
'yang terhubung dengan port yang 'dibuka oleh windsock1 yaitu port 1234

Private Sub Command1_Click()
On Error GoTo out
Winsock1.SendData Text1.Text
Exit Sub
out:
MsgBox "Gagal kirim pesan!", vbCritical
End Sub
________________________________________________________________________

'event pada socket jika terjadi permintaan koneksi
Private Sub
Winsock2_ConnectionRequest(ByVal requestID As Long)
Winsock2.Close 'tutup socket
Winsock2.Accept requestID 'kemudian baru terima request id
End Sub
________________________________________________________________________

'event pada socket jika terjadi penerimaan data
Private Sub
Winsock2_DataArrival(ByVal bytesTotal As Long)
Dim
dataz$
'ambil data yang diterima disimpan pada variable dataz
Winsock2.GetData dataz
'tampilkan hasil data yang telah diterima pada textbox
Text2.Text = Text2.Text + vbCrLf + CStr(Time) + ">>" + dataz

End Sub
________________________________________________________________________

'event pada socket jika terjadi permintaan koneksi
Private Sub
Winsock1_ConnectionRequest(ByVal requestID As Long)
Winsock1.Close 'tutup koneksi
Winsock1.Accept requestID
'kemudian baru terima request id
End Sub
________________________________________________________________________

'event pada socket jika terjadi penerimaan data
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim dataz$
'ambil data yang diterima disimpan pada variable dataz
Winsock1.GetData dataz
'tampilkan hasil data yang telah diterima pada textbox
Text2.Text = Text2.Text + vbCrLf + CStr(Time) + ">>" + dataz
End Sub
________________________________________________________________________

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Winsock1.Close
End Sub

________________________________________________________________________

Tentunya penggunaan satu socket hanya untuk satu koneksi, jadi kalo kamu pengen dapat berkomunikasi lebih dari dua komputer, kamu bisa membuat array untuk object winsock kamu. Caranya ambil Winsock 1 saja letakkan di form, kemudian pada properti winsock di bagian index isikan 0. Kemudian pada setiap kamu mau melakukan komunikasi kamu harus meload object tersebut. Misal mau melakukan koneksi pada komputer 1 maka lakukan perintah
.....
Load Winsock(1)
Winsock(1).Connect "193.168.100.2",1234


dan lakukan hal yang sama jika ingin berkomunikasi dengan komputer yang lain. Catatan, jika koneksi telah berakhir hendaklah mengunload object yang tidak terpakai, dengan tambahan pula ada baiknya sebuah variable yang mencatat objek index apa saja yang terpakai dan yang tidak terpakai. Misalkan dengan menggunakan variabel class Collection. Ya.. itu saja, semoga bisa membantu bagi kamu-kamu yang pengen buat aplikasi chatting sendiri ala kamu sendiri. Selamat mencoba.


Get Monolopy Bandwidth With Mozilla Firefox

Are you wanna get lot of bandwidth internet with browser Mozilla Firefox?? It is have some tips for you to do it. First, you open browser Mozilla firefox, then type about:config at address bar, and this might be show warning cause wanna change over the setting browser. Then press OK, after that the second step its will show you lists of setting from Mozilla, search list with name network.http.pipelining set it value true,
network.http.pipelining.maxrequests set value 64,
network.http.proxy.pipelining set it true
network.proxy.share_proxy_settings set its value false, after that all you make one entry lists with name nglayout.initialpaint.delay and set its value 0, its type data is integer. And its you can improve your browser with used proxy switcher, you can download it at https://addons.mozilla.org/extensions/moreinfo.php?applicationfiltered=firefox&id=125 and install that plugin. Then you restart your Mozilla Firefox application. Happy fun.

Isnin, 16 Jun 2008

Ber Yahoo Messenger di hape...

Banyak orang pengen bisa berkomunikasi yang murah meriah.. hem.. walaupun sekarang tarip telepon udah pada banting harga.. tapi kalo ngobrol pake teks alias gak ngomong langsung terkadang lebih menyenangkan. Banyak penyedia sarana ngobrol murah pake teks yang biasa disebut ama chatting IM (Instant Messanging). Yup.. kita disini lagi ngomongin gimana sih bisa IM an di Hape.. wow, kalo dulu biasanya kalo mau chatting tuh musti pake komputer yang terhubung ke internet, belom lagi kita kewarnetnya, terus pas lagi asyik-asyik ngobrol, eh.. tanpa terasa duit yang harus dikeluarkan untuk bayar internet lumayan mahal.. (Wah itu dulu mas). Nah beda dulu ama sekarang, teknologi sekarang semakin murah... orang sekarang tambah pinter... orang yang dulu masih kecil sekarang udah gede... :)) He..he.... "Nah terus gimana chatting murahnya?? ", yaelah.. sekarang mah udah jamannya GPRS or 3G, nah.. percuma dunk klo lu punya hape canggih yang bisa photo sana sini terus bisa muter mp3 en punya fasilitas GPRS or 3G gak kamu gunain?? wah sayang banget tuh. Ok.. banyak koq sekarang aplikasi buat YM! (Yahoo Messanger) buat platform hape java yang di publish, free download malah. Seperti aplikasi YMess, kamu bisa dapetin file nya di http://www.getjar.com/products/8888/YMess terus disitu kamu pilih sesuai dengan tipe en merek hape kamu. Nah.. setelah itu ada instruksi selanjutnya, kalo kamu pengen dapetin file itu kamu bisa download atw klo kamu pengen dapat langsung dipasang di hape kamu kamu buka wap dari hape kamu dengan alamat yang diberikan.
Terus untuk aplikasi symbian, kamu bisa gunain aplikasi YM dari Lonelycatgames, nama aplikasinya adalah slick. Nah.. gunain dech google search buat bantu kamu cari program itu.. program itu secara gratis tersebar diinternet koq. Ok.. begitu aja.. semoga berhasil berchatting ria ala YM di mobile phone kamu.