Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Tuesday, November 12, 2013

Facebook.com sebuah inovasi yang berawal dari tulisan

Sebelum menulis artikel ini, saya baru saja menonton film "the social network". Ya, sebuah film mengenai Mark Zuckerberg, seorang computer nerd, kalau kata orang-orang disana. Seorang Mark menemukan ide baru mengenai website social networking atau jejaring sosial di dunia internet. Kalau dilihat dari film tersebut, mereka ingin membuat sesuatu yang baru dan berbeda dibandingkan situs jejaring sosial lainnya yang pada saat itu sedang booming di kalangan anak-anak muda di Harvard, Friendster.com dan MySpace.com. Mereka ingin membuat suatu perbedaan diantara keduanya berupa exclusive rights yang berarti hal-hal yang eksklusif mengenai profil anggota dari situs jejaring sosial yang dibuat.

Berawal dari sebuah kemarahan mr. Zuckerberg akibat kesalahpahamannya terhadap pacarnya saat itu, Erica, iya menuliskan kemarahannya di blognya (layaknya sebuah diary). Kesalahpahaman itu membuat Erica men-judge bahwa seorang computer nerd akan berhasil dalam meraih kesuksesan dan kekayaan tetapi dengan saat itu juga ia tidak akan mampu menjalankan kehidupan sosial seperti berhubungan dengan lawan jenis. Tentunya ia tidak akan disukai oleh wanita yang mana pada saat itu dating merupakan hal yang sangat diidam-idamkan oleh para mahasiswa.

Akibat permasalahan itu, Zuckerberg jengkel terhadap Erica dan membuat sebuah situs Facemash.com dengan cara meretas jaringan di kampus Hardvard. Dalam waktu beberapa jam ia mampu mendapatkan 22000 hits dalam 4 jam. Sebuah hal yang fenomena karena ia hanya menghabiskan waktu 4 jam untuk mendapatkan hits sebanyak itu. Facemash.com yang merupakan situs sementara merupakan situs vote atau compare person yang mengakibatkan setiap wanita di kalangan kampus Hardvard mendapatkan istilah "which one hotter". Sehingga seorang Zuckerberg dibenci dan bahkan dijadikan seorang mahasiswa yang menjengkelkan.

Namun, hal positif yang dapat diambil adalah kemampuan Zuckerberg dalam meretas jaringan komputer di kampus Hardvard membuat ia dilirik oleh kalangan mahasiswa untuk membuat sebuah projek yang disebut dengan HarvardEdu. Ya, memang dalam hal ini ia tertarik untuk bergabung dan bahkan menemukan sebuah ide baru yang membuat situs jejaring sosial terbaru bernama theFacebook.com.

Yang menarik adalah ketika ia menemukan sebuah ide dan yang mampu membuat theFaceboook berbeda dengan situs jejaring sosial lainnya adalah adanya sebuah kata in relationship. Ya, berawal dari seorang temannya yang bertanya mengenai apakah seorang gadis yang berada di kelasnya (baca 1 kelas dengan Zuckerberg) dekat dengan seorang pria lain atau sedang mendambakan seorang pria yang bagaimana. Fenomena yang disebut dengan flash of genius ini membuat sebuah perbedaan dengan situs jejaring sosial lainnya.

Walaupun dalam film ini ada begitu banyak pembelajaran seperti jangan pernah bertindak dalam keadaan marah, jangan pernah ragu terhadap pertemanan apalagi seorang sahabat, dan yang terakhir rajin untuk menulis walaupun itu hanya sebuah diary kehidupan. 3 hal tersebut merupakan pembelajaran menarik dalam film ini. Namun, bagi seseorang yang ingin menjadikan dirinya sebagai salah satu orang yang memiliki sumbangsih bagi dunia ini adalah moment flash of genius. Sebuah momen dimana anda mengalami ide yang berbeda dengan orang lain. Dan itu pun dengan 1 hal yaitu langsung dilaksanakan tidak usah peduli dengan ide lain karena lebih nikmat dengan ide sendiri.

Friday, October 18, 2013

Application program interface general understanding

Application program interface (API). In the sphere of order on behalf of an function plan to function, it have to intermingle with the central processing unit approach in a variety of ways, such as sense in a row from diskette collection, distribution data to the laser printer, and displaying text and graphics on the check screen (user interface). The plan may perhaps need to get back passй whether a device is obtainable or whether it can assert access to an other portion of reminiscence. In the sphere of order to provide these and many other services, an operating approach such as Microsoft Windows includes an extensive function plan interface (API).

The API basically consists of a variety of functions or procedures with the aim of an function plan can call in the lead, as well as data structures, constants, and various definitions desired to illustrate approach wealth. Applications programs bring into play the API by plus calls to routines in a plan collection (library, plan and procedures and functions). In the sphere of Windows, “dynamic link libraries” (DLLs) are used. For case in point, this clear-cut function puts a message box on the screen:
MessageBox (0, “Program Initialization Failed!”, “Error!”, MB_ICONEXCLAMATION | MB_OK | MB_ SYSTEMMODAL);

In the sphere of practice, the API on behalf of a major operating approach such as Windows contains hundreds of functions, data structures, and definitions. In the sphere of order to simplify learning to access the crucial functions and to promote the characters of readable code, compiler developers such as Microsoft and Borland assert devised frameworks of C++ classes with the aim of package interconnected functions jointly.

For case in point, in the Microsoft Foundation Classes (MFC), a plan in the main begins by deriving a group of pupils representing the application’s basic characteristics from the MFC group of pupils CWinApp. When the plan wants to present a window, it derives it from the CWnd group of pupils, which has the functions regular to all windows, dialog boxes, and controls. From CWnd is derived the specialized group of pupils on behalf of both type of window: On behalf of case in point, CFrameWnd outfit a conventional highest function window, while CDialog would be used on behalf of a dialog box.

Thus in a framework such as MFC or Borland’s OWL, the object-oriented conception of encapsulation is used to bundle jointly objects and their functions, while the conception of inheritance is used to relate the generic object (such as a window) to specialized versions with the aim of assert added functionality (object-oriented brainwashing and encapsulation inheritance).

In the sphere of topical years Microsoft has greatly extended the accomplish of its Windows API by only if many upper level functions (including user interface items, net communications, and data access) previously requiring separate software components or plan libraries (like Microsoft.Net). Programmers using languages such as Visual Basic can take lead of a advance level of abstraction. Here the various kinds of windows, dialogs, and other controls are provided as building blocks with the aim of the developer can place in into a form designed on the screen, and it follows that settings can be made and code on paper as appropriate to control the behavior of the objects once the plan runs. While the programmer will not assert as much tell control or flexibility, avoiding the need to master the API income with the aim of functional programs can be on paper more quickly.

Friday, October 11, 2013

General Understanding about APL (a programming language)

APL (a programming language). This encoding language was industrial by Harvard (later IBM) researcher Kenneth E. Iverson in the in the early hours 1960s as a way to express numerical functions undoubtedly and consistently in support of laptop aid. The power of the language to neatly express numerical functions attracted a growing come to of users, and APL soon became a ample general- rationale computing language.

Like many versions of BASICS, APL is an interpreted language, value with the purpose of the programmer’s input is evaluated “on the rush,” allowing in support of interactive response. Unlike essential or FORTRAN, however, APL has turn and powerful support in support of all the essential numerical functions connecting arrays or matrices (array). APL has finished 100 built-in operators, called “primitives.” With lately solitary or two operators the programmer can stage multiplex tasks such as extracting numeric or trigonometric functions, cataloging records, or rearranging arrays and matrices. To give out a very minimal case, the following line of APL code:
X [Delta X]

Sorts the array X. Taking part in the majority encoding languages this would produce to be through by coding a cataloging algorithm in a dozen or so ranks of code using nested loops and temporary variables. However, APL has too been found by many programmers to produce substantial drawbacks. Because the language uses Greek inscription to stance in support of many operators, it requires the aid of a special type font with the purpose of was by and large not open on non-IBM systems.

A dialect called J has been devised to aid barely standard ASCII typeset, as well as both simplifying and expanding the language. Many programmers uncover numerical expressions in APL to be cryptic, making programs powerful to swear or revise. Nevertheless, APL Special Interest Groups in the major computing societies bear witness to continuing fascinate in the language.



Monday, May 2, 2011

Robotics Development in Indonesia

Robotics research in Indonesia, most are still about programming and rarely touches to the mastery of technology hardware. Funding an obstacle to the researchers. The cost to design and create the hardware, very expensive. In robotics research have not reached the mastery in depth like that but only during the regular design.
For 13 years the Ministry of National Education to encourage the development of the role of robotics in Indonesia. Each year, there is a robotics competition between schools or students that encourages young people to pursue. Lecturer at the University of Indonesia, this explains, the quality of children and students in the field of robotics plume.
Generally the participants race to buy a robot that imported components and assemble their own robots to fill the program. This also happens on campus. Most research is still around and detection algorithms. Technology such as mastery of sensors, electronics, and design has not be explored due to the expensive cost.

DMCA Protection