Excess Taiwan Visa Requirements for Filipinos

Posted on November 23, 2016 at 14:26 Big Foot 4 Comments

Almost a month ago I wandered through Taiwan with three good old folks from college. It would’ve been my second overseas trip this year had I been granted a Japan visa last July. Getting rejected on my very first visa application turned out traumatizing that I had to read multiple blogs and consolidate all the requirements the authors stated for this trip. My pessimism even worsened when my friends started getting Australian, US, and Schengen visas. Fortunately, in the end, I was granted with my first (of many, hopefully). Listed below are the requirements I prepared. You can only guess which ones made the cut.

All original documents have their corresponding photocopies but only that of the PSA birth certificate was received, making a total of nine requirements submitted. I may have been a bit of an overkill with the documents but screw it, I was too terrified of another rejection. After all, requirements can vary from one applicant to another and it never hurts to come with more than just your war paint.

Taipei Economic and Cultural Office in the Philippines
41F, Tower 1, RCBC Plaza, 6819 Ayala Avenue, Makati City, 1200 Metro Manila
(02) 887-6688
Filing time: 08:45–11:45
Processing in 3 working days for the amount of 2,400 peyses (they also expedite for only a day)
Releasing time: 13:45–16:30

Updated on March 3, 2017: I have disabled commenting for this post as I have replicated it in Itinerant.

Renaming Photos by Timestamp

Posted on October 18, 2016 at 16:15 Java No Comments

Including my cellphone, I used to have three cameras (used because my waterproof one died on me right after my recent trip to Palawan). Most smartphones already save photos with timestamps as the filenames but as for digital cameras, as far as I know, it’s not really the case. In general, the file naming convention varies from one device to another. The lines in Java that follow are not really anything special; it just reads the Last Modified metadata and uses it as the filename. I’ve been using this for quite some time now just because I want to be able to view photos chronologically once I consolidate them from multiple devices. That simple. Okay, and a bit of an OCD, too.

String dirName = "C:/Photos/Maldives"; //in my dreams
String fileNameExt = ".jpg"; //JPEG format
String fileNamePref = "RIMG"; //just blank to rename all photos
String fileNameFmt = "yyyyMMdd_HHmmss"; //e.g. 20161018_161534 for October 18, 2016 4:15:34 PM (should be unique enough!)

File directory = new File(dirName);
File[] photos = directory.listFiles();

for(File photo : photos) {
   String filename = photo.getName();

   if(filename.toLowerCase().endsWith(fileNameExt) && filename.startsWith(fileNamePref)) {
      SimpleDateFormat sdf = new SimpleDateFormat(fileNameFmt);
      String newFilename = sdf.format(photo.lastModified()) + fileNameExt;
      File renamedPhoto = new File(photo.getParent() + "/" + newFilename);

      if(!photo.renameTo(renamedPhoto)) {
         System.out.println("Failed to rename: " + photo.getAbsolutePath());
      }
   } else {
      System.out.println("Not a " + fileNamePref + "*" + fileNameExt + ": " + photo.getAbsolutePath());
   }
}

This is under the assumption that the date and time in your devices have been set correctly. Different time zones are no longer within the scope of this post but is accommodated in—apparently someone already thought of the same—Renaming jpeg files with date+time stamp. Ideally, all photos should be renamed successfully since no two photos can be taken at exactly the same time (burst shots are another story). But with multiple cameras, there can simply be conflict sometimes. Lastly, you should be careful when copying or moving photos because sometimes the Last Modified data are changed to the date you copied or moved them. Should that be the case, the given source code no longer holds any value.

eXTReMe Tracker