Archive for the 'Uncategorized' Category



17
Dec
07

Tahap-tahap dalam RUP

Masing-masing tahap dalam Rational Unified Process dapat dipecah ke dalam beberapa iteration / pengulangan. Suatu iterasi adalah suatu pengembangan mengulang yang akan menghasilkan release dari produk yang dapat di eksekusi, suatu subset dari produk akhir di bawah pengembangan, yang bertumbuh secara inkremental dari iterasi ke iterasi untuk menghasilkan sistim akhir.

Beberapa manfaat pendekatan iteratif dalam rekayasa perangkat lunak dibandingkan dengan proses waterfall / air terjun yang tradisional, proses iteratif mempunyai keuntungan-keuntungan sebagai berikut:

  1. Resiko-resiko sebelumnya yang dapat dikurangi
  2. Perubahan lebih dapat dikendalikan
  3. Tingkat penggunaan kembali yang lebih tinggi dan menguntungkan
  4. Tim dalam proyek dapat belajar dalam perjalannya
  5. Secara menyeluruh mutu lebih baik
26
Jul
07

Top COder SUCKS

i get sucks with this scribe fire,.. when i make a note and i open the tag right side,.. all mya note has gone,.. shit.
back again,.. top coder is really sucks when i have to complete the training test,.. this is the problem statement:

Let’s say you have a binary string such as the following:
011100011

One way to encrypt this string is to add to each digit the sum of its adjacent digits. For example, the above string would become:
123210122

In particular, if P is the original string, and Q is the encrypted string, then Q[i] = P[i-1] + P[i] + P[i+1] for all digit positions i. Characters off the left and right edges of the string are treated as zeroes.

An encrypted string given to you in this format can be decoded as follows (using 123210122 as an example):
Assume P[0] = 0.
Because Q[0] = P[0] + P[1] = 0 + P[1] = 1, we know that P[1] = 1.
Because Q[1] = P[0] + P[1] + P[2] = 0 + 1 + P[2] = 2, we know that P[2] = 1.
Because Q[2] = P[1] + P[2] + P[3] = 1 + 1 + P[3] = 3, we know that P[3] = 1.
Repeating these steps gives us P[4] = 0, P[5] = 0, P[6] = 0, P[7] = 1, and P[8] = 1.

We check our work by noting that Q[8] = P[7] + P[8] = 1 + 1 = 2. Since this equation works out, we are finished, and we have recovered one possible original string.

Now we repeat the process, assuming the opposite about P[0]:
Assume P[0] = 1.
Because Q[0] = P[0] + P[1] = 1 + P[1] = 0, we know that P[1] = 0.
Because Q[1] = P[0] + P[1] + P[2] = 1 + 0 + P[2] = 2, we know that P[2] = 1.
Now note that Q[2] = P[1] + P[2] + P[3] = 0 + 1 + P[3] = 3, which leads us to the conclusion that P[3] = 2. However, this violates the fact that each character in the original string must be ‘0′ or ‘1′. Therefore, there exists no such original string P where the first digit is ‘1′.
Note that this algorithm produces at most two decodings for any given encrypted string. There can never be more than one possible way to decode a string once the first binary digit is set.
Given a string message, containing the encrypted string, return a string[] with exactly two elements. The first element should contain the decrypted string assuming the first character is ‘0′; the second element should assume the first character is ‘1′. If one of the tests fails, return the string “NONE” in its place. For the above example, you should return {“011100011″, “NONE”}.
Definition

Class:
BinaryCode
Method:
decode
Parameters:
string
Returns:
string[]
Method signature:
string[] decode(string message)
(be sure your method is public)
Constraints
-
message will contain between 1 and 50 characters, inclusive.
-
Each character in message will be either ‘0′, ‘1′, ‘2′, or ‘3′.
Examples

0)
“123210122″
Returns: { “011100011″, “NONE” }
The example from above.

1)
“11″
Returns: { “01″, “10″ }
We know that one of the digits must be ‘1′, and the other must be ‘0′. We return both cases.

2)
“22111″
Returns: { “NONE”, “11001″ }
Since the first digit of the encrypted string is ‘2′, the first two digits of the original string must be ‘1′. Our test fails when we try to assume that P[0] = 0.

3)
“123210120″
Returns: { “NONE”, “NONE” }
This is the same as the first example, but the rightmost digit has been changed to something inconsistent with the rest of the original string. No solutions are possible.

4)
“3″
Returns: { “NONE”, “NONE” }

5)
“12221112222221112221111111112221111″
Returns:
{ “01101001101101001101001001001101001″,
“10110010110110010110010010010110010″ }

maksud saya nulis begini yach karena saya bete aja,. dikasih soal pake bahasa inggris,.. terus ada bahasa komputernya pake bahasa inggris,.. soalnya ada binarinya lagi,.. Maaf yang topcoder.

06
Jun
07

Simple Wizard

yoi,.. gw coba nulis yang namanya make component Simple Wizard,.. sapa tau aja tulisan gua bakal kepake lagi nanti ama gua sendiri,.. amin. kalo loe mau make tulisan gua nggak papalah,..

Simple wizard…. gua dapetin nich komponen dari hasil penelusuran gua di codeproject.com so,.. kalo kamu mau itu component silahkan kunjungin codeproject.com and search that string.

Simple wizard di decelop menggunakan bahasa c# dan kayaknya dia make visual studio versi 7 a.k.a vs 2003.. so kalo kamu buka itu componentdalam bentuk source di vs 2005 pasti dia (si vs2005) bakal ngonvert itu sourcecode sehingga bisa kompatibel dengan vs2005. okeh silahkan di convert,.. kalo kamu beruntung kamu bakal dapetin contoh and dll file nya,.. itu kalo kamu kamu beruntung,.. kalo nggak dia akan nyari reference (dll) padahal dia udah punya ?! wanda,.. :D

lupakan source code cukup add reference di toolbox kamu untuk ngegunain komponent ini,.. browse ke file dll yang ada di folder sample (bukan source) habis itu seperti dalam tutorialnya,.. cuman tutorialnya lupa menambahkan event handler yang harus dilakukan pada saat checkbox di check.. masukkan kode yang sama dengan kondisi wizardpage saat next menjadi enabled…

yach mungkin itu dulu dech,..

12
Apr
07

THis IS N0t Hello world!

blogging lagi, blogging lagi,.. berkali-kali blogging cuman salah mulu,… salah nulis sampe salah mencet,.. akhirnya punya blog yang enak juga juga yach buat nulis-2 :D .

So,.. kerangka blog ini antara lain:

programing,. may java, dot net, php, other i found kommander is good for kde ing.

networking,.. litle sense in this farm make me a good boy.

hacking,.. na.na.na.na,… N0! it’s forbidden if you get caught!!!

OS-ING?! seems funny to running mac osx on top of my celeron…

Project Management?! just a little experience in here,..

XML?! maybe i turn on to programming

Sleeping,.. ………….




Branbench.com Certified

VB.Net Fundamental

RDBMS Developer

Win XP Fundamentals

Networking Concept

Html 3.2

c sharp is cool

Network Security

MS Sharepoint Portal Certifiedl

RMHD.wordPress.com

Blog Stats

  • 4,347 hits

Top Clicks

  • None

Hari-hari ngepost

January 2010
M T W T F S S
« Aug    
 123
45678910
11121314151617
18192021222324
25262728293031