WordPress permalinks requested URL /reference was not found on this server

If screenshot above look familiar when you try to configure permalinks for WordPress.
Try following:

  1. Open /conf/httpd.conf.
  2. Enable mod_rewrite module by removing the # for LoadModule rewrite_module modules/mod_rewrite.so.
  3. Change AllowOverride rules from “None” to “All” as section below.
  4. Restart Apache http server.
  5. Remove .htaccess file in your WordPress installation directory.
  6. Change your permalinks setting again in your WordPress after login.
  7. Have a cup of coffee.
 

Brief Introduction to SDK – JRE – JVM – JIT

SDK

This is complete collection of Java stuff, as it has compiler which convert source code (*.java) to Java bytecode (*.class), jar acrhive to package class library to jar file, VisualVM to let user visualize the performance and memory capability… and many more.

JRE
JRE consists of the Java Virtual Machine (JVM), Java platform core classes, and supporting Java platform libraries. JRE is the runtime portion of Java software, which is all you need to run you Java application for eg: applet in web browser.

JVM
When you run your Java application as “java …” this is where JDK spawn a new instance of JVM, which equivalent to operating system process.

JIT
JIT use to compile bytecode into machine specific native code, to optimize the targeted CPU and operating System. JIT is part of Java Virtual Machine.

 

EJB 3.1 automatic timer does not work for second

When I tried the tutorial to create timer service using EJB this morning, I found out the @Schedule annotation for second does not work as what it suppose to be (print a message every second), keep trying …. trying…..
End up, the “reason” give me a BIG Ooooooooooo …..

What I did

@Singleton
public class ScheduleBean {

    @Schedule(second = "*/1")
    public void doWork() {
        System.out.println("Hello dude... schedule is working...");
    }
}

What it suppose to be

@Singleton
public class ScheduleBean {

    @Schedule(second = "*/1", minute = "*", hour = "*")
    public void doWork() {
        System.out.println("Hello dude... schedule is working...");
    }
}


 

Software Development Should Fly !

After 5 years working in software industry, from small to giant company, from stand alone application to e-commerce site, I do notice those project have similarity from management perspective no matter what they are building, how big the project scope, how big the team size was and of course, what development methodology they are using.
I still remember quite sometimes ago, a colleague of mine (who believe in certification does make manager good in management) like to told me, who and who is PMP (Project Management Professional) certified, who and who is xxxx certified so on, and normally I will just reply as : “oh…. okie, nice to hear that, hope this manager is different”.
I reply so doesn’t means I don’t believe in certification, contrary, I do believes if you holding a industry recognized certification meaning you have attend proper course, assignment and you have learn what and how is the correct way to manage project. But the sad thing is “ideals life is most of the time crash with reality”, if you don’t have the core problem resolve.
Of course, project management is always not an easy job especially when you want to make everyone happy (Customer happy when they see what they want, developer happy when work life balance, company happy when they have profit). But how hard could it be if you really follow the principal of project triangle below?
Every project’s core is the trio of time, money and scope, and these are the factors you juggle every day to keep your project plan on track. If you adjust any one side of the triangle, the other two sides are affected.

For example, if you decide to adjust the project plan to:

  • Bring in the scheduled finish date, you might end up with increased cost and a decreased scope
  • Meet the project budget, the result might be a longer schedule and a decreased scope
  • Increase scope, your project might take more time and cost more money in the form of resources, such as workers.
Quality is at the center of the project triangle. Quality affects every side of the triangle, and any changes you make to any side of the triangle are likely to affect quality. Quality is not a factor of the triangle; it is a result of what you do with time, money, and scope.

As it is easy to explain how project triangle works, but unfortunately, it’s always hard to follow in real life project management because most of project will have limited time, low budget and big scope, which cost low quality software.

References:
 

Downgrade iOS Firmware

  1. Download version of restore file here.
  2. Goto Windows –> Run, type in “notepad C:WindowsSystem32driversetchosts”, it brings up host file (Google yourself for how to edit hosts file for Mac user).
  3. Goto last line of file and add in “74.208.10.249 gs.apple.com”.
  4. Switch off your iPhone/iPod.
  5. Press the Home button and connect your device to PC, the devices boots up and “Connect To iTunes” screen displayed.
  6. Launch iTunes, and you will see it detected your devices in recovery/restore mode, press the “Shift” key (For Windows) or Alt key (for Mac) on keyboard while click on “Restore” button in iTunes (This will open a windows browser).
  7. Browse to your restore file (iPodxxxxx_Restore.ipsw) and click Restore.
 

James Gosling resign from Oracle

Father of Java – James Gosling has resign from Oracle on April 2010 as he announce @ his own blog. In these recent years, there are lot of acquisition has done by giant software company, and Sun Microsystem is one of the deal who acquired by Oracle in January 2010.

I think I have to add in these 2 big event happened to Java History since I have just post it until 2006 🙂

 

Memory card being lock after firmware upgrade for my nokia E-71

When the time I happily restart my phone after upgrade my Nokia phone firmware to the latest version this morning, the bad mood comes to me. My phone asking me to enter password when I insert my memory card which I removed before upgrading process take in place.
I Enter “1111”… “Incorrect password”, then I continue to try those common password like “1234”, “0000”…. “Incorrect password” AGAIN!!!

“Suckssss”… ALL MY DATA GONE!!! my message…, my video…, my image…, my files…, my applications… Ooooooooo Nooooooooooo….
I was so frustrated after all these happy mood turn to sad, so, I google around for any solution from others which might help 🙁

try .. try.. and try…

Huh.. not so bad, finally there is a post from Nokia forum asking to try enter the the “Remote lock message” for the phone which normally happen to be under menu: Tools | Settings | Security | Phone and SIM | Allow remote lock menu. Then the password of the memory card will be the remote lock message.

I tried enter “xxxxxxxx” ……
Bravo !!! it works for me 🙂 thanks to all the article contributors, you guys save my life 🙂

Note : Since memory card password is restricted to only 8 digits, the first 8 digit from remote lock message is assigned for memory card. For example if Remote card message is : “locknokia71” then your password for memory card will be “locknoki”