About these ads

Game Milestone: Metal Gear Solid 4 Big Boss Emblem

10 03 2011

Yeah, if you are wondering why I haven’t done much on the request of either Rainmeter, Chrome, or Winamp, it’s because I was trying my best beating Metal Gear Solid 4 on The Boss Extreme difficulty. Today, I have finished the game around 3 hours time slot which gives me the Big Boss Emblem which you can see on the below picture (Sorry for the blurry quality, though).

About these ads




Metal Gear Solid 4: Guns Of Patriot – Easy Drebin Points

16 02 2011

I love it when a game developers put a tiny glitch so us who got no time for playing the game over and over again can get a certain features. Metal Gear Solid 4 is a sick game and I love playing it, by the way. But, here’s a tip for gathering those Drebin Points easily.

This is a sweet spot to collect those Drebin Point in Metal Gear Solid 4: Guns of Patriots. Get a Patriot gun by entering “pkhhnwhsjt” as your password (no quotes). And get your way to the 4th act. After you defeat Screaming Mantis you will run through the corridors and meet by those rolling robots. Stand by the end of the first door and turn around. You will notice the robot will keep respawning and you can just activate your Auto Aim and hold L1 and R1 buttons with a rubberband.





Google Chrome Theme: Touhou 4

16 01 2011

Alright, time for another Touhou Google Chrome Theme on the dock. I should’ve done my project for the university but I guess I’m too lazy. Maybe I’ll do it one day before deadline, haha. Enjoy the Chrome theme pack guys!

Skin Name: Touhou 4

File Size: 1.89 MB

Color Theme: Beige

Download: https://www.onlinefilefolder.com/4shUNf5jFIvFn5

Note: An explanation about how to use this file can be observed at the Chrome page. Happy downloading!





Google Chrome Theme: Naoto Shirogane

18 09 2010

Alright, I have made a quite arrangement for my settlement in Germany and I got a chance to post to this blog. I still have to find an appartment in Saarbruecken which I have made an arrangement to meet with the landlord next Monday. Let’s hope that it will be quick and I could subscribe to an internet provider. Anyway, I’ll still be reviewing requests from you guys, but at a slower phase. Meanwhile, here’s another Persona series Google Chrome Theme but featuring the individual, Naoto Shirogane.

Skin Name: Naoto Shirogane

File Size: 1.8 MB

Color Theme: Grey

Download: https://www.onlinefilefolder.com/4sL46NftZi4hcb

Note: An explanation about how to use this file can be observed at the Chrome page. Happy downloading!





Wallpaper of The Week: Persona 4

13 03 2010

A very very late post for this week’s wallpaper since I’ve been busy with my “Darkside Rebirth” project (You will see the project progress as soon as I could get my video uploaded on Youtube). Anyway, so sorry for the seldom post and seldom Rainmeter skin request stall, I will be posting some Rainmeter skin today, hopefully. In the meanwhile, enjoy this week’s wallpaper. It’s from Persona 4 by looking from the uniform she wear, but for the character, I honestly don’t know who she is (It’s like the female version of the main character).





Oct 2009: Answer to Basic Programming 1st Quiz

11 10 2009

On Friday, October 9th 2009, the first quiz of basic programming was conducted by James Purnama. It was a 65 questions and 1 programming problem quiz. The topic covered in this quiz is from JAVA Concepts book chapter 1-4. The students can do an open book or search it in the web. Anyway, I thought I might share the quiz and the answer which I think is right to you guys for improving your programming knowledge. Use this answer at your own risk.

1. Consider the following statement:
String greeting = 13;
Which of the following is true?
Answer: B. The statement yields a compile-time error
Explanation: The assignment operator is mismatched since it
wants to store an integer to a string type reference.
Since this type of inconvertible error is detected during the
compile time, it will yield a compile-time error.

2. Which of the following statement is correct?
Answer: A. Identifiers can be made up of letters, digits, and
the underscore(_)characters.

3. List three rules imposed by Java on identifiers.
Answer: All true

4. It is an error to use the value of a variable that has never
had a value assigned to it.
Answer: A. True
Explanation: The compiler will say "The variable may not have
been initialized".

5. Which of the following code fragments will cause an error?
Answer:
D. int luckyNumber;
   System.out.println(luckyNumber);
Explanation: the variable "luckyNumber" was never initialized.

6. System.out is an object of the class .....
Answer: PrintStream

7. The ...... of a class specifies what you can do with its objects.
Answer: public interface

8. The System.out object belongs to the class.....
Answer: B. PrintStream

9. Which of the following statements is correct in the Java language?
Answer: C. Every object belongs to a class 

10. Which of the following counts the number of characters in a string?
String greeting = "Hello, World!";
Answer: A. int n = greeting.length();

11. Write a statement that sets the value of i to the number of characters
in the following string:
int i;
String message = "Go home early today.";
Answer: i = message.length();

12. A method name is ..... if a class has more than one method with that name
(but different parameter types).
Answer: overloading

13. In Java, numbers are objects of classes in the java.lang package.
Answer: B.False
Explanation: number is a primitive object which doesn't belong to a class.

14. Based on the code below, move the rectangle 25 units to the left and
40 units down.
Rectangle box = new Rectangle(5,10,20,30);
Answer: box.translate(-25,40);

15. An object can be referenced by at most one object variable.
Answer: B. False

16. Which of the following terms denotes the memory location of an object?
Answer: C. object reference

17. Object variables store .....
Answer: A. references

18. The acronym of AWT stands for ....
Answer: C. Abstract Windowing Toolkit

19. Complete this code fragment to ensure the frame is shown.
JFrame frame = new JFrame();
Answer: C. frame.setVisible(true);

20. Based on the code below, set the size of the frame to 50 pixels wide and
70 pixels tall.
JFrame frame = new JFrame();
Answer: frame.setSize(50,70);

21.Based on the following statement, which of the following statements sets the title
of the frame?
Answer: D. frame.setTitle("An Empty Frame");

22.Complete this code fragment to ensure that the application exits properly when the
user closes the frame.
JFrame frame = new JFrame();
Answer: D. frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

23. Complete the following code fragment by writing two statements that would cause
a program to display a square frame with a title that reads "My first GUI program".
JFrame frame = new JFrame();
final int FRAME_WIDTH = 400;
final int FRAME_HEIGHT = 400;
Answer:
frame.setSize(FRAME_WIDTH, FRAME_HEIGHT);
frame.setTitle("My first GUI program");

24. Place drawing instruction inside the ... method. That method is called whenever
the component needs to be repainted.
Answer: paintComponent

25. To draw an ellipse, you must include in your program the statement: import ...
Answer: java.awt.geom.Ellipse2D

26. The Graphics and Graphics2D class are part of the ... package.
Answer: AWT

27. When a window is shown the first time, the ... method is called automatically.
Answer: main

28. Use a(n) ... to recover the Graphics2D object from the Graphics parameter
of the paintComponent method.
Answer: Cast

29. Whenever the Swing toolkit calls the paintComponent method, it actually passes
a parameter of type ...
Answer: D. Graphics

30. ... is the nickname for the graphical user interface library in Java.
Answer: GUI

31. To run an applet, you need a(n) ... file with the applet tag.
Answer: HTML

32. You view applets with the ... or a Java enabled browser.
Answer: AppletViewer

33. Which of the following statements would complete the code below?
public class RectangleComponent extends JComponent
{ public void paintComponent(Graphics g)
  { //Recover Graphics2D
    Graphics2D g2 = (Graphics2D) g;
    //Draw a square
    ...
    g2.draw(box);
  }
}
Answer: A. Rectangle box = new Rectangle (5,10,20,20);

34. Consider the following code fragment:
public class RedFlagComponent
{

    public void paintComponent(Graphics g)
    {
          Graphics2D g2 = (Graphics2D) g;
          Rectangle flag = new Rectangle(100, 100, 200, 100);
          g2.draw(flag);
    } 

}
Answer: D. It is impossible to add a RedFlagComponent object to a frame because
the class does not extend JComponent.

35. Complete the code below:
public void paint(Graphics g)
{
  //prepare for extended graphics
  Graphics2D g2 = (Graphics 2D) g;

  //Construct a rectangle and draw it
  Rectangle box = new Rectangle(5,10,20,30);
  g2.draw(box);

  //Move the rectangle 15 units to the right and 25 units down
  ...
  g2.draw(box);
}
Answer: box.translate(15,25);

36. The ... method of the Graphics2D class is used to draw a string anywhere in a
component.
Answer: drawString

37. In Java, colors are specified by defining their ..., ..., and ... values.
Answer: Red, Blue, Green

38. To draw a line in Java, you should use an object of the .... class.
Answer: Line2D

39. What are the RGB color of Color.RED?
Answer: C. 255,0,0

40. What are the RGB color of Color.BLACK?
Answer: D. 0,0,0

41. In the code below, write a statement that sets the graphic to green.
public class ItalianFlagComponent extends JComponent
{
  public void paintComponent(Graphics g)
  {
     Graphics2D g2 = (Graphics2D) g;
     Rectangle.Double leftRectangle = new Rectangle.Double(100,100,30,60);
     ...
  }
}
Answer: B. g2.setColow(Color.GREEN);

42. Complete the following statement, which construct an ellipse.
Ellipse2D.Double ellipse = new ...(x,y,width,height);
Answer: Ellipse2D.Double

43. Based on the following code, write four statements that draw a red square on a
yellow background.
public class RectangleComponent extends JComponent
{  public void paintComponent(Graphics g)
   {
     Graphics2D g2 = (Graphics2D) g;
     ...
   }
}
Answer:
g2.setBackground(Color.YELLOW);
Rectangle r = new Rectangle(0,0,10,10);
g2.setColor(Color.RED);
g2.draw(r);

44. The programmers who designed and implemented the library classes such as
PrintStream and Rectangle are called ...
Answer: A. System programmers

45. What is the missing code fragment in the following code?
public class CarComponent extends JComponent
{
   public void paintComponent(Graphics g)
   {
       Graphics2D g2 = (Graphics2D) g;
       Car car1 = new Car(0,0);
       int x = getWidth() - Car.WIDTH;
       int y = getHeight() - Car.HEIGHT;
       Car car2 = new Car(x,y);
       ...
   }
}
Answer: All Wrong
Explanation: Shouldn't the one that draws the component is the g2 variable
instead of the Car component?

46. It is a good idea to define ... for each complex shape that you want
to draw.
Answer: A separate class

47. Which of the following code fragments converts a floating-point number to the
nearest integer?
Answer:
B. double f = 4.65;
   int n = (int) Math.round(f);
explanation: You need a cast type to integer since Math.round(double) returns a
long.

48. The decimal equivalent of 110100 is ...
Answer: C. 52

49. The binary equivalent of 1000(decimal) is ...
Answer: A. 1111101000

50. Which of the following primitive types is a floating-point type with a size of
eight bytes?
Answer: B. double

51. Which of the following primitive types has a size of two bytes?
Answer: D. char

52. Which of the following code fragments will compile without error?
Answer:
B. int dollars = 100;
   double balance = dollars;
Explanation: Integer has less bytes than double. Therefore the system still works
to store a less bytes to a bigger bytes variable storage.

53. Consider the code fragment.
double balance = 13.75;
int dollars = balance;
Which of the following is true?
Answer: D. The code doesn't compile
Explanation: Double has bigger bytes than integer. Therefore the system can't store
a bigger bytes to a less bytes variable storage.

54. The binary equivalent of 200 is ...
Answer: D. 11001000

55. The decimal equivalent of 111010 is ...
Answer: A. 58

56. Which of the following correctly defines a constant in a method?
Answer: C. final double NICKEL_VALUE = 0.05;

57. Numerical ... are values that do not change and that have a special significance
for a computation.
Answer: constant 

58. Which of the following statements is equivalent to balance = balance + amount;?
Answer: A. balance += amount;

59. The value of x after the following sequence is ...
x--;x++;
Answer: The original value of x before the decrement or x+0

60. Consider this statement for computing the average of x,y, and z.
double average =  x + y + z / 3;
Which of the following statements is correct?
Answer: D. The code only gives the right answer when x = -y.
Explanation: To put it clear, the formula can be defined as x + y + (z /3).
Therefore, the computation computes the right average if the sum of x and y is 0.

61. A string is a sequence of ...
Answer: chars or characters

62. Convert the following string as price:
String input = "75.23";
Answer:
try {
  double price = Double.parseDouble(input);
}
catch(Exception e){} 

63. The ... method is used to extract a part of a string.
Answer: substring

64. The ... character is used as an escape character in Java.
Answer: \ or backslash

65. Java uses the ... encoding scheme to encode international characters.
Answer: Unicode




Beat Of The Day: Electronica At The Velvet Room by Shoji Meguro

18 09 2009

persona4_madlaxI’ve been itching to post this favorite tune from the Persona 4 game series. The song is entitled “Electronica At The Velvet Room” which is composed by Shoji Meguro. Actually this song is a remix version of “The Poem For Everyone Souls” from Persona 3 which the previous version has a chilling ambient to it. Then this song changes to a more rock version on the Persona 3: Reincarnation album entitled “The Battle for Everyone’s Souls” which much more energic with the combination of high-pitch moaning sound.

Then, when Persona 4 came out, the concept of retro came out. Time for some groove and disco. The song changes to a more synthesizer kind of music, but still preserved the high pitch moaning sound. I got to tell you that this Persona 4 version seems to be the best fit for me to listen. I never get bored of listening to it and it is on the top of my playlist in winamp.

One day, I turned this music up in the office and my colleagues seems to enjoy it (Important note: My colleagues are no fan of anime and one of them is a heavy metal anthusiast). So, I guess this “Electronica at The Velvet Room” music fits the general genre and can be enjoyed by anyone eventhough they do not understand anime).

Download Link:

Electronica At The Velvet Room – http://www.4shared.com/file/133452987/dced88e4/227_Electronica_In_Velvet_Room.html

The Battle For Everyone’s Souls – http://www.4shared.com/file/133464309/9cd08f31/09_The_Battle_for_Everyones_Souls.html

The Poem For Everyone’s Souls – http://www.4shared.com/file/133492927/e3f28d6f/06_The_Poem_for_Everyones_Souls.html





Wallpaper of The Week: Persona 4

16 05 2009

In amidst of my thesis work, it’s hard to divide my time between the thesis and blogging. Thank god that I had a spare time in uploading this wallpaper of the week post. So, here you go.

Konachan.com - 49516 sample





Wallpaper of The Week: Persona 4

16 03 2009

Just changed my wallpaper to Persona 4 game series. Some of my friends told me that this game has changed its theme from the previous series. Since the previous series always have a dark theme in it, Persona 4 has a light theme and humor kind of plot. I think I’ll be playing this series after I finish playing Shadow Heart and of course, when I have the spare time to waste (I’m on my progress in writing my thesis for my bachelor degree). Anyway, here’s the wallpaper you can download for your desktop wallpaper:
1226096727120





Desktop Goodies: Rainlender

5 03 2009

Just have a good spare time to download a quite unnecessary but good software for desktop enhancement. It’s called Rainlender. Basically, this software is just as the same those widgets from google or yahoo. However, Rainlender has the opportunity to customize your own calender interface widgets. So, here’s what I’ve done to the skin:

rainlender_chieSkin Name: Rainlender – Chie_fr_persona4

File Size: 1.01 MB

Color Theme: Pink

Extra: Sasara and Tamaki themes from To Heart

Download:

Rainlender – www.rainlendar.net/

Skin - http://www.4shared.com/file/91282119/5e765379/rainlender_chie_fr_persona4.html

I would’ve attached the screenshot of Sasara and Tamaki but then I decided to let you see it for your own. Anyway, you are free to download the skin. Don’t forget to install rainlender first though and then move the extracted folder to the rainlender skin folder. Happy downloading!








Follow

Get every new post delivered to your Inbox.

Join 989 other followers