What’s new in anime/manga world?

October 6, 2007 at 5:10 pm (Anime and Manga)

I really like anime/manga movies makes me laugh a lot. Sometimes it motivates and inspires me to do something extreme and creative. Sometimes i wish part of my life can be experience in anime/manga, what will i look like there hehe.

Permalink Leave a Comment

Driving Lesson? Help!

October 5, 2007 at 5:50 pm (My friends)

We have a Jeep (Wrangler) and i want to learn how to drive at our neighborhood but i cant just drive it. I still need to learn how to drive on tight roads like in our street or in other and much tighter road (iskinita or eskinita).

I’d like to learn but how. If only i had a friend who can trust me to drive on street even in a road with out a car so i can practice the actual driving on streets. I only drive our Jeep at an open field circling around. I can drive but i havent tried it on street. Another problem is the shifting of gears.

I had an idea just now. Maybe i can come to our province and ask my father to let me drive it hehe. Ill post some pictures here if can.

Permalink 1 Comment

Programming Process

October 5, 2007 at 1:36 pm (Programming stuff)

The Problem-Solving Process

Experienced programmers develop their own process of tackling problems. They will consolidate or even skip steps, but most of them will admit that when they first learned, they followed a more structured approach. Programming usually revolves around a problem-solving process as follows:

1 Define the problem. The first step in the process is to clearly define the problem. This step can be as simple as brainstorming; however, there is usually a need to develop requirements of some sort. In other words, “What is the problem we are trying to solve?” The next question to ask is “What are the high-level functions that will allow us to solve that problem?”

2 Distill the problem down to byte-sized chunks. At this point, the high-level functions may be hard to wrap your mind around. In fact, they may be very abstract, so the next step is to break the high-level functions into smaller ones through an iterative process until they are easy to digest.

3 Develop pseudo-code. The term pseudo means fake. Pseudo-code refers to the clear, concise description of logic or computer algorithms in plain English, without regard to syntax. In fact, there is no precise syntax for pseudo-code. That said, most programmers gravitate toward a format like their favorite programming language.

4 Group like components into modules. This is an important step. Recent programming programs rely on a concept called modularity. Simply put, modular means self-contained and reusable bits of code-after all, why reinvent the wheel if the module already exists? Over time, programmers develop their own software module library or learn to quickly find others and incorporate them into their own programs. Modules are loosely related to functions or procedures in most languages.

5 Translate to a programming language. At this point, you should have pseudocode that resembles your favorite programming language. It’s a simple process to add the nuances of your favorite language, such as its syntax and format. Then run your favorite compiler to turn the source code into machine language.

6 Debug errors. The term bug (as it relates to hardware) was first coined by Thomas Edison, but it was Navy Admiral Grace Hopper who made it famous

when she found a bug (actually a moth) while cleaning the Harvard Mark II calculator in 1945. Many credit her with coining the term debugging, which means to remove any errors in either computer hardware or software. For our purposes, there are two types of programming errors or software bugs that require debugging: syntax and runtime.

- Syntax errors Syntax errors are caught by the compiler during the compiling process, and are the easiest type of error to find and fix. The compiler usually provides enough information to allow the programmer to find the syntax error and fix it.

NOTE: Many black and gray hat hackers will modify the source code for their exploits and purposefully add syntax errors to keep script kiddies from compiling and running them. The source code could be crippled by removing needed syntax (for example, missing ; or {}).

7 Runtime errors. Runtime errors are harder to find and fix. They are not caught by the compiler and may or may not be found during program execution. Runtime errors (or bugs) are problems that will cause the program to act in a manner not intended by the programmer. There are too many types of bugs to cover in this chapter; however, we will focus on input validation errors. These errors occur when the user provides input in a manner not foreseen or handled properly by the programmer. The program may crash (at the least) or may allow the attacker to gain control of the program and the underlying operating system with administrator or root level access (in the worst case). The rest of this chapter will focus on this type of programming error.

8 Test the program. The purpose of testing is to find the runtime errors while confirming the functionality of the program. In other words, does the program perform as planned without any unforeseen consequences? It’s the latter part of this question that’s the hardest to answer. The problem centers around the fact that a programmer is often the last person to find all of the runtime errors. The programmer is typically too close to the program to think outside the box. It is usually best to separate the testing and programming functionalities and have separate people perform them.

9 Implement production. Unfortunately, for too many software products, production begins as soon as the program compiles without syntax errors and without adequate testing. There’s often a rush to market and a ready acceptance that bugs will be found and handled later.

Permalink Leave a Comment

New Jython 2.2

October 5, 2007 at 5:57 am (Programming stuff)

I just read the blog article about Jython 2.2 release.

“Jython is an implementation of the Python programming language in Java that makes it possible for users to run Python programs on the Java virtual machine and write programs that seamlessly leverage both languages.”

Permalink 1 Comment

Download new Linux Distributions

October 5, 2007 at 4:57 am (Operating System)

I just finish cd writing my new downloaded linux distribution. These are Ubuntu 7.10 (codenamed “Gutsy Gibbon”), NetBSD i386 4.0 RC2 (Unix-like OS) and Vixta.org (VISTA version in Linux) from Softpedia Site. I’d like to try all linux distribution to my pc so that i will know which is the best for my box.

Ubuntu 7.10 Gutsy Gibbon Tribe 1

Scheduled for official release in late October i think 18, Gutsy Gibbon will include version 2.6.22 of the Linux kernel, GNOME 2.20, and Xorg 7.3. Kubuntu 7.10 will feature KDE 3.5.7 and offer optional packages for KDE 4.0 RC2. Ubuntu 7.10 Server Edition will feature some nice additions, including support for Novell’s AppArmor security framework. This will also be the first Ubuntu release to include compositing support by default by fully integrating Compiz Fusion, a window manager that merges elements of Compiz and Beryl.

Xorg 7.3, which includes RandR 1.2 and supports hotplugging for monitors and input devices, will vastly simplify Xorg configuration in Ubuntu 7.10 and significantly reduce the need for manual xorg.conf manipulation for some users. Ubuntu 7.10 will also include a new graphical display configuration utility that aims to reduce the complexity of configuring support for two displays. Unfortunately, users who want to run more than two displays by using multiple video cards will have to continue to manage their configuration by hand and endure the serious deficiencies of Xinerama, which still isn’t compatible with RandR.

Tribe 1 (the first Ubuntu 7.10 development prerelease) was officially released on June 7th. According to the official release schedule, Tribe 2 is officially scheduled for release late this month shortly after the Debian import freeze. Additional Tribe prereleases will be issued at the rate of one or two per month until October. Assuming that circumstances don’t necessitate a deviation from the schedule, Ubuntu 7.10 release candidates will be available mid-October and the final official release is scheduled to take place on October 18.

Favored by prominent hardware companies like Dell and Intel, Ubuntu is rapidly becoming one of the most important distributions in the Linux ecosystem. The addition of the new mobile and embedded edition in the 7.10 release represents the next major step in Ubuntu’s evolution and portends broader Ubuntu adoption in the context of portable computing.

Permalink Leave a Comment

Mot is alive!!!

October 4, 2007 at 4:45 pm (Uncategorized)

This is my first time to blog here. I hope i can maintain this blog so it wont be boring. There’s so much topic i want to write here like programming, graphics, favorite movies, my friends and other stuff that interest me.

I also like to write all my plans and future stuff so i can always see it whenever i visit my blog. I think this wordpress blog site is much better than my other blog site.

Permalink 1 Comment