Blog

Rudy

Viewing posts created by Rudy

XBMC on the Intel NUC (D54250WYKH)

I’ve always wanted a proper HTPC, but so far it’s just been off-the-shelf media streamers for me. 1st it was the AC Ryan PlayOn HD, 2nd was the Xtreamer Sidewinder 3, but they were limited with their inability to display Hi10p videos (10bit color-coded videos usually used for anime), and proper SSA subtitles (also used in anime for animated/colorful subtitles).

Now that Intel came up with these NUC thingies, I thought it was about time to start tinkering. There wasn’t any stock available for the D54250WYK at Low Yat when I dropped by, so I had to make do with the D54250WYKH, the version with the 2.5″ drive slot. Threw in 8GB of RAM and a 1TB drive on there. A little excessive, but I have big plans for this thing. ๐Ÿ™‚

In order to get XBMC onto this machine, I thought of putting on a proper Ubuntu installation on there, then loading XBMC on top of it. I had almost no problems installing Ubuntu 13.10 via USB thumb drive, until I reached the end. I couldn’t boot into the installed operating system, due to some files that the NUC was expecting that were in the wrong place. A firmware upgrade to version 24 fixed that (I didn’t upgrade to 25, as there were reports of issues booting from USB3.0).

At this point I’ll also have to mention that I have not been able to access the BIOS since bringing the NUC home (it tested fine at the shop). I don’t know if it’s due to my HDMI setup (it goes through a splitter to get the the AVR) or something else. There were times that I couldn’t get video, but I think that is also due to the HDMI stuff (a power cycle of the AVR and/or TV seemed to fix it).

Once Ubuntu (desktop) was up and running OK, I immediately installed XBMC (Frodo) on it through apt-get. I ran it manually, and liked how it looked, but… I couldn’t play any of the movies I tried. XBMC would just crash to the desktop each time I loaded a movie. It seemed like it might be an issue with the audio, so I tried tinkering around with the settings, but I wasn’t able to get it work. Seemed like I couldn’t get 5.1 sound via HDMI too, so I messed around with pulseaudio settings too, but alas to no favorable result.

So I ditched that setup. Looked online and tried to do a minimal Ubuntu install instead. This makes more sense since I plan to run the NUC as mainly a server, with only a frontend to serve XBMC. I downloaded the mini version of 12.10 (decided to downgrade from 13.10, since HDMI issues were not experienced by me alone (should’ve read that before I started, but oh well)) and stuck that onto a thumb drive. The NUC would boot it, but it couldn’t recognize the NUC’s network adapter, which was needed to download some installation files. Scratch that, went with the 13.04 minimal version instead. Install went somewhat well: there were no errors or anything, but the downloads were sooo slow. It pretty much took an entire night. And the end result? It wouldn’t boot either. Bleh.

So last resort, was for me to use the XMBCbuntu distribution. XBMC and Ubuntu together in one shot. Went for Ubuntu 14.04 and the XBMC Gotham beta straight up. Installed like a charm. And the rest is pretty much history (macam cerita kawin pulak).

Well not quite. By default, RSS feeds are turned on by default, and this causes a massive drain on CPU time (about 50%; any scrolly text on XBMC seems to do this). Gotta turn it off to let it idle comfortably at 2-3% (and even that feels kinda high).

Back from the dead (yet again)?

Hello again after so many years (just one actually). This blog has been here and there, up and down, and generally unreliable due to other priorities having taken up my time. Firstly, a summary of related events:

  1. The website server was moved onto spot pricing. Yay cheap, but what I didn’t realise was that the latest server snapshot is not saved when the price exceeds the maximum set. So I had posts that were publishedย and then disappeared. And since the spot price kept spiking, the server also kept shutting down. This was some time after my last existing post.
  2. Amazon started charging for the Broadway Academy store instance, so this had to be shut down too. This was in December.
  3. Diablo III happened. Many loots.
  4. After very long consideration, I bought a new Haswell i5 Intel NUC. Last week. ๐Ÿ˜€
    PC in a box, the Intel NUC.

    PC in a box, the Intel NUC.

    Such a tiny thing as a PC. Love it. Threw in 8GB of RAM and a terabyte drive in there for good measure. Migrated the blog over to nginx and php5-fpm. Also running XBMC for my media centre, and the ol’ minecraft server is up and running again. Next to do would be to migrate the BA store front, then shut down my presence on AWS permanently.

  5. Heartbleed happened. Patched everything up.

Will try to post more in the upcoming months. Stay tuned.

Still connected.

When you want something done, you gotta do it yourself.

When you still want to build a website over your holiday.

Greetings from Phuket! Tis officially the first day of our vacation here and we’re totally taking it easy by lazing around the pool/beach. While last year we spent most of the time reading and sleeping, this time I have my laptop along for the possible office emergency (hope they don’t call *crosses fingers*).

So here I am, as long as I can stand the screen glare, updating my WordPress JetPack settings (we have Publicize now!), and building an event registration site for our upcoming musical.

Yes, we’re in a musical. Don’t ask me how, but it’s been an enjoyable experience getting ready for the show. If you’re free on the 2nd or 3rd of March, 2013, please come and support us! Link to the Facebook event here. We’re doing RENT in Concert. RENT is a rock musical set in NY city about a group of poor artists trying to get by under the weight of HIV/AIDS. It’s pretty awesome for a musical. We’ve got profanity, homeless people, gay people, lesbians (one of which is played by my wife), drug dealers. I think the younger group would love it. ๐Ÿ™‚

Going back to the event registration site, I’m now looking at possible plugins that allow payment via PayPal (that seems to be the only option readily available). The two that I’ve found, Event Planner and Event Registration, both have free integration to PayPal but Planner doesn’t seem to have MYR listed as a currency, so we’re left with Registration. If that doesn’t work, then I’ll have to temporarily shut this site down and run Magento or Spree which should have everything we need. We’ll see how it goes.

Anyway, it’s getting a little hot. Time for a dip in the pool.

bangsar.net now on Amazon

Due to the inability of the Synology 411j NAS to host this wordpress site, we’ve finally moved to Amazon’s EC2 service. This is Amazon’s cloud service with its micro instance starting at USD15 a month if you run it 24/7.

Yes, USD15 is a little pricey for just a private wordpress blog, but Amazon allows new users to try it for free for a year. And since they have a data centre in Singapore, I thought why not?

The migration was simple enough. First step was to set up the EC2 instance, so we used one free preconfigured image by BitNami. Picked it up on the AWS Marketplace, then it’s up and running in no time.

Second step was migrating the entries over from the old blog. WordPress has a built in Import & Export feature so all the posts, including attachments, were migrated over effortlessly. Though I just realized we’re missing the posts from our guest bloggers; not sure when this happened, but it’s the same as the old site so it must’ve gotten deleted or transferred to another user during previous migrations.

Next was to point the site address from the old site to the new. The DNS server will continue running on the NAS, so it was just a matter of changing the CNAME entry from our current dynamic DNS to the Amazon one. There was a mention somewhere online that the Amazon hostname will change if the instance is restarted, so we’ll cross that bridge when we get to it.

After that, WordPress was running off the /wordpress subdirectory, so we needed to SSH into the instance and setup redirection from the root directory. A quick uncomment in /opt/bitnami/apps/wordpress/conf/httpd.conf and it happens, but permalinks are still pointing to the /wordpress subdirectory so I’m going to have to figure out how to work that with redirection.

As you may be able to tell, the server is running zippy as ever. Will just need to keep a reminder to move the blog again to a paid local web host before the AWS Free Tier expires. ๐Ÿ˜›

Installing Playstation Media Server (PMS) on a Synology NAS (411j)

So I’ve recently acquired a Synology DS411j, which I hoped would have flawless built-in DLNA compatibility with my PS3. I should’ve known it was too much to ask for proper transcoding.

There’ve been plenty of discussion regarding how to get the PS3 media server, something I’ve been using on my Windows PC, installed on a Synology NAS. The most complete guide I’ve found is here on Mark in the Dark. I followed it, but I had to do a few things differently and additionally to get it to work proper.

In the end, transcoding was horrifyingly slow on the 411j’s processor. I could barely get the first frames off a 720p movie. But for those who have more powerful units and would like to try anyway, here are the modifications to the original guide. Props to Mark and synops for the original guide. My DSM version is 4.0-2197.

Read More

ABAP: Stay logged into SAPGUI indefinitely

Sometimes you’re doing something midway on your system, and you’re interrupted for a meeting or lunch or whatever. You come back and you’ve been automatically logged out, losing whatever you were working on earlier.

Prior to our upgrade to ECC6, you can simply keep yourself logged in by making timed calls to function module SAPGUI_PROGRESS_INDICATOR. Once upgraded however, the code has changed, causing it to no longer extend your GUI session.

Read More

Upgrading my 3.1.3 Spirit iPhone 3GS jailbreak to 4.2.1 greenpois0n

Just some notes for future reference.

Steps taken:

  1. Update stock firmware to 4.2.1
  2. Follow iClarified steps using greenp0is0n.
  3. Reinstalled Cydia apps, etc.

Encounters:

  • greenpois0n JB stopped at “firmware download etc etc 60000ms”. Waited 10 mins after that but it wouldn’t budge. Just reset the device and restart the whole JB process.
  • Old jailbreak files were not removed, particularly stuff in /var/stash. Will need to remove the old duplicate to get some space back.
  • Infinifolders is a good SBCategories replacement. ๐Ÿ™‚

Wireless proxy configuration for your jailbroken iPhone

You are on your company’s WiFi network. You’ve been able to access intranet sites so far, but now you’d like to access an external site via the company’s HTTP proxy. Your company, however, does not provide a proxy auto-configuration URL. You are therefore stuck with having to add or remove the proxy manually in your iPhone WiFi settings each time you’d like to access external or local sites, respectively.

So how can we make things easier? Simple, create your own proxy.pac file.

Read More

SPCA confusion

The SPCA is great and all, taking in strays and whatnot, but seriously, their administration and ‘customer service’ could use some work. Love their doctors though.

As you may know, both our cats are formally adopted from SPCA.

Cat #1: Shcamper. Not yet neutered since he was still a ‘teenage’ kitten when we picked him up. The neutering fee should be free as part of the RM100 adoption fee. Called them to see if we can walk-in or schedule an appointment and the lady on the phone flat out said that they don’t do neutering. Told us to go to the Kembiri clinic instead. And we did, but the guy told us that actually SPCA cats should be neutered by SPCA back at Jalan Kerja Ayer Lama. Since we were already there we might as well proceed, with an additional RM50 donation for the procedure.

Cat #2: Chewmil. Spayed by SPCA but still shows signs of heat. Called SPCA to get her checked out but the girl on the phone said they don’t tend to adopted cats after one month of adoption. Like lepas tangan only right? Will most likely have to spend another RM100 for another procedure at Kembiri. Poor girl.

It would have been great if these people behind their desks would take the trouble to explain to people exactly how and what the process is. If there’s going to be just one month of support, at least say so in the beginning. I don’t know if these people are there just for the job or for the cats, but please lah, be more emphatic with the people you deal with.