All posts by admin

CentOS 6: error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD

Today, I started getting the following error while trying to update some packages using the yum command.

error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD

It seems that the signatures have become corrupt somehow.  Here’s what I did to fix it.

First I went into the root directory

# cd /root

I then downloaded the NSS Softokn Freebl rpm (link below is recent as of January 27 2015)

# wget

# rpm2cpio nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm | cpio -idmv

Then I copied the files to the correct location

# cp ./lib64/libfreeblpriv3.* /lib64

Lastly, I ran through the update again

# yum update

That took care of it for me.

Blackberry 10 to Launch With Over 100,000 Apps – Programmers Submit Yet Another 19k BB10 Apps in Less Than 2 Days

Leaked Blackberry 10 Image

It looks like Research in Motion has done it!  Break the 100k app mark for BB10, that is.

Last week, Research in Motion reported that during the two days the Blackberry 10 port-a-thon ran that there were 15,000 submissions.  Today, Alec Saunders, VP Developer Relations at Research In Motion announced that, over the last day and a half, developers have submitted yet another 19,000 apps (19,071 to be exact) for BB10’s pre-launch.  That brings the total to 34,000 from the port-a-thons alone, meaning there could be as many as 104,000 apps available by the January 30th launch date of the Blackberry 10 operating system.

A date for the new Blackberry Z10 phone has not been officially released yet, but dates as early as the end of February have been reported.

While I’m not a huge user of apps myself, this bodes well for RIM as they attempt to compete with Microsoft’s Windows Phone (by app count, BB is obliterating MS) for third position in the market behind iPhone and Android.  RIM has mostly focused on the business user, which they have done a very good job of, but they’ve lost a lot of ground over the last few years as their products have become stale.  From everything I’ve seen, BB10 is shaping up to be not only the greatest business phone operating system ever, especially for BYOD businesses, but with BB10’s Balance (basically two completely sand-boxed yet simultaneously-accessible BB10 instances on a single phone – 1 business and 1 personal), the consumer market is sure to take up the devices.

For the past few years many businesses, analysts, and consumers have written Blackberry off.  Especially with very little new being produced over the last year and a half.  It seems that all RIM’s time and effort has been put into BB10, which has been delayed quite some time; but for the better in my opinion.  Releasing a half-assed phone/OS would have certainly meant the demise of the Blackberry.  All the extra time and effort that they’ve put in to make things just right is really shaping up to have been the right move.

Personally I’ll be waiting for the QWERTY edition phone as I love having the physical feedback that a physical keyboard provides, but from all the videos I’ve seen of the touchscreen version, BB10’s on-screen keyboard looks like it’ll allow for faster typing than any other keyboard ever created.

In other news, I have surpassed the 1-year mark of developing my video game, Super Space Trooper.  Be sure to check that out.  I’m hoping to have it completed in five months and launched on the PlayStation Network another three months after that.  There’s no word yet on whether or not Unity3D’s gaming engine will be ported to BB10, but if they do port it you can be sure I’ll be releasing Super Space Trooper to that platform as well.

mysql_real_escape_string() Problems, Null, Explained

Just a quick note about PHP’s mysql_real_escape_string() function.  Basically the function will remove possibility of visitors throwing binary data or other exploits into your forms etc on your website.  I recently had a problem figuring out why my mysql_real_escape_string($variable) was null.  Silly me, I didn’t even think about the fact that the MySQL database connection must be made first, as in before the mysql_real_escape_string() function can be used.

So if your mysql_real_escape_string() is not receiving any data, make sure you’re connecting to the MySQL database first and then using the function.