Author Archives: ZiNgA BuRgA

Moved Server

Helloo~ another rare post from me! Recently shifted my websites from my old dedicated server to this VPS server – a move which I’ve been too lazy to do for like 2 years. The dedicated server was rather overkill for the website I’m running (originally had other plans, but didn’t follow them through) so have [...]

Too Much Bandwidth (or maybe, just quota)

So, time for another pointless update on myself (well, I may as well post, otherwise this place would be entirely dead). I’ve posted a number of times before about my internet connection and that, and how you’ve probably figured that I’ll never shut up about it until something like the NBN comes (if it ever [...]

Streaming POST data through PHP cURL Using CURLOPT_READFUNCTION

Well, I haven’t posted here in quite some time… I’m not dead, and don’t plan on completely ditching this blog, but well… Anyway, onto the article. I had a PHP application where I wanted to upload part of a large file to some other server.  The naive method may be to simply split the file [...]

PMPs – Why do People Ignore Compression?

One thing I notice is that many portable devices, companies sell higher capacity versions for exorbitant premiums, when flash memory really isn’t that expensive.  Seems to be less of an issue for players which do include an (mini/micro)SDHC expansion slot, as you can effectively increase capacity with a cheap add-on card. But despite this, it [...]

Why would anyone buy an iMac?

People who know me probably know that I’m a lot more anti-Apple than I am anti-Microsoft, but that’s besides the point here. Was browsing some ads that got sent to my house today and I saw an ad for an iMac (as Apple tightly controls prices, I would expect them to be similar across stores) [...]

New USB Stick

I’ve had a number of USB sticks in the past, and from historical situations, they tend to last around 2 years for me.  My current (well, actually, previous, now) USB is a Transcend 8GB, and I’ve already been using it for over 2.5 years, so I’ve been wondering if this thing is going to die.  [...]

Delv into Git

A few days ago, I decided to start a git repository (+ github account) for my XThreads MyBB plugin.  I never really believed this plugin to be complex enough to really require version control, but as I have never used git before, I decided to use it as an opportunity to test it out and [...]

Compressing PSP ISOs with 7z deflate

Many applications which compress data, do so using the free zlib library.  It’s relatively fast and provides a good speed/compression ratio for most applications, but above anything else, I imagine it’s huge popularity is due to it being licensed under a very liberal license. zlib implements the deflate compression algorithm (same algorithm used in the [...]

Safe PHP expressions in templates

In regards to my PHP in Templates MyBB plugin, I’ve been thinking of the possibility of using “safe expressions”, that is, allowing <if> conditionals without allowing admins to enter in “undesirable” PHP. I came up with an idea yesterday, which I’m giving a shot at. Basically, there’s probably only two main types of undesirable code: [...]

So busy…

Well, I haven’t updated this blog in quite a while.  I haven’t forgotten about it, rather, I’ve been hung up with so much to do lately.  Just finished my mid-semester exams, so at least that’s done – doesn’t mean I’ll update this any time soon any way, for the 2 people or 100 spammers who [...]