Categories
Extensions

Package Names

While doing work on the the Rooster Teeth Site Extender extension, I was having a serious issue with it not working. It kept logging a paticular error in the javascript console:

No chrome package registered for chrome://rtse/content/browser.xul .

It turns out that all package names must be in lowercase, otherwise the package just won’t work. So, when you are defining your package name, make sure you use all lowercase, otherwise you’ll get the same error.

Categories
PHP

Syntax Bug, or Program Bug?

So, while coding today I came across a very strange bug in PHP. It seems as though subtracting two arrays will return null.

However, if I wrap that in the floor() function, it works as expected.

Go figure. Took me 30 minutes to find that annoying bug.

Categories
Personal

Classes

Well…seeing as how college is staring soon again, I figured it would be a good idea to show you what I’m taking on this term. First off, it is a 15 credit semester. That’s not to heavy, and maybe a little on the lite side. So here it is:

Monday

9:00 am-10:00 am MATH 216
12:00 pm-1:00 pm PHYSICS 240
4:00 pm-5:30 pm ECON 101

Tuesday

9:00 am-10:00 am PHYSICS 240
2:00 pm-3:00 pm CHEM 125
3:00 pm-5:00 pm CHEM 125

Wednesday

9:00 am-10:00 am MATH 216
10:00 am-12:00 pm PHYSICS 241
12:00 pm-1:00 pm PHYSICS 240
4:00 pm-5:30 pm ECON 101

Thursday

9:00 am-10:00 am PHYSICS 240
10:00 am-11:00 am CHEM 125
11:30 am-1:00 pm ECON 101
1:00 pm-2:00 pm MATH 216

Friday

9:00 am-10:00 am MATH 216

I especially like Fridays…almost no classes! I know that Terry is in my Economics class, and Travis (my roommate) is in my Physics class, but otherwise, I don’t really know if there is anyone in there that I know.