|
Stream Ed New
You know what this is? It's a brain sucker. You know what it's doing? Filing its tax return
If you wish to make an apple pie from scratch, you must first invent apple pie The Adventures of Little Ed Brave Tell airport security your name is McCannister because you can hide anything in a cannister. You know what? Nobody notices when this changes anyway. There are 10 types of people in the world: Those who understand binary, and STFU What happens in a black hole stays in a black hole The black hole draws you inexorably inward. Time slows. You are likely to be eaten by a grue. I'd diddle little umdidlie... if she weren't my half-sister. Abortion prevents pedophilia. In more ways than one! ![]() Notice to all users of the Holodeck: There are safety protocols in place that cannot be deactivated without the approval of two commanding officers or the captain to protect users of the Holodeck from potential harm. However, every time the Holodeck is ever used in a nontrivial manner, no matter what the safety protocols say, the Holodeck turns into a deathtrap. Unless you believe yourself to be adept at constructing a forcefield from your communicator and 19th century Earth tools, or you're at the very least not wearing a red shirt, you are strongly advised not to attempt to use the Holodeck until a designer comes up with a safety protocol that doesn't kill you whenever somebody looks at it funny. Even when you're not on the holodeck. Or in the same quadrant. Or time period. In fact, if you are wearing a red shirt, Starfleet may not be the job for you |
Category: WorkEpic FailI've become the de facto sound editor person at work, since I know more about it than anybody else. I've been using a program called GoldWave to do most of my work, and though we ought probably actually buy it. So I sent out an email saying as such, so it makes it easier for me to edit sounds. My boss, who is not a funny man, replied: "sounds" good... go ahead and make that purchase Epic fail. Somebody get me a gun or a knifeSo, you know how you get a song stuck in your head and sometimes you're humming it to yourself for the rest of the day? Okay, well, two tangents off that, then. First of all, about 3 or 4 years ago and the vocal jazz Christmas concert, Allen Voigt sand "Your a Mean One Mr. Grinch" and it's been stuck in my head ever since. Seriously. I will start singing it to myself at a moment's notice and realize it five minutes later. The other tangent is this, and I don't know if anybody else does this, please let me know. I don't just get songs stuck in my head. I get conversations stuck in my head. If I just had a short conversation with somebody, I will replay that conversation over and over in my head for the next ten minutes. For example, I went in to work one day awhile ago, and got on the elevator, and somebody else was already there. I pushed the button for floor six, and they asked me, "Are there a bunch of companies on the sixth floor, or just one?" "No, there's a bunch," I replied. For the next ten minutes, I was saying to myself, "Are there a bunch of companies on the sixth floor, or just one? No, there's a bunch. Oh, there's a bunch. There's several. Oh, I don't know how many there are. Are there a bunch of companies on the sixth floor? Yeah, my company only takes up a few windows. How many companies are there on the sixth floor? Oh, I don't know, a bunch. If I had to guess I would say 8." This happens to me all the time. I get conversations stuck in my head and replay them over and over and over. From movies too, where I could come up with a much better line than the writer did, three years after last watching the movie, and having 3 years more to think about the line than the writer did. Sometimes I get conversations stuck in my head that haven't yet occurred. I'm just preparing for when the moment comes in that case, I guess. Just gotta make sure I know what to say if I'm ever in court and the defense lawyer interrupts me in the middle of what I'm saying. I'll tell you some time. Just don't let me forget. Advanced Code Signing FTW; Also Apple SucksThis may not be pertinent to anybody who reads this, but it seems like something I need to share, so that the other two people on the planet who are in similar situations may come across this answer. Here's the premise:
Now, if you're an iPhone developer, you know what this means. It means Apple sucks at getting their shit together. 99% of the time, you've followed the instructions, but the instructions were wanting, and we only wish the error messages were just as bad, but they are essentially non-existent. There are about a hundred and one ways to get that error message, but apparently nobody else has experienced my particular method yet. After going through several options, I eventually used the application update utility, which gave me a slightly more useful message:
Essentially saying the same thing in different words, but huzzah, we can have somewhere to look for additional details! After five minutes of finding the console log, I found this gem:
And from there I found out about the codesign -vv helloworld.app helloworld.app valid on disk When you upload to the app store, you have to zip your app. I unzipped the file I was uploading and tried it there, and that's the breakthrough I got: codesign -vv helloworld_unzipped.app helloworld_unzipped.app /Users/mac1/helloworld_unzipped.app/._order.plist sealed resource is missing Ahah! Finally, a real filename! But... wait. I don't even have that file in my project! Why is it looking for it? And what's more, why does it say it's fine at first, then I zip it and then unzip it and it's broken!? Well! I included a certain directory and all of its contents because I want the app to automatically include any new files without changing the project. There was apparently this hidden file in there as well, ._order.plist, which I wasn't even using in the project, and wasn't used anywhere at all, in fact. And also, XCode, Apple's Objective-C IDE, included it as a resource for the project. And also, that particular file is not included when zipping up directories. And also, then unzipping it and doing a diff on the two directories gives no difference, because it ignores hidden files by default. And also, there's a hash of the exact contents of each file and if one of those files is not extant or doesn't have the correct hash, then it's suddenly an invalid application. So, this all adds up to about 8 hours of work to delete a single file and recompile the application, and suddenly it works! And that's why I didn't get much work done today. Ergonomic Keyboards are the crapI had my performance review yesterday. I got me a raise. In other news, I've added some level of accountability to the website. Whenever my location is updated (anybody can do it! Just click on the first item in the sidebar on the left, just above "Main"), it's logged to a file, including the IP address, time, and the value it was changed to. It's good to keep records on file like this. The royal weI have noticed that when I program, my comments are in the royal first person, that is to say, the nosism of the royal "we". An example from my ant hill application:
I don't know if this is normal, or if I just assume that all my actor classes are monarchs. It seems presumptuous, I know, but it just seems like the best solution. If I said "I" instead, it sounds like the class is talking for itself, which it is not, (I am talking for it). Using "You" is no better. I'm not talking to the class, I am making the class. Really, "we" is the only option that makes sense in the context, unless you wish to take the utilitarian and ultimately dehumanizing route of "it". This is not to say that classes are human in the first place. It removes some of the feeling of sentience from the class, which is fine if you're working on a plain ol' BigInteger class or what have you (though I tend to even give those guys personality). But when you're working on something as visual as an ant, it just destroys the suspension of disbelief. Yeah, I totally just used that phrase while talking about programming. Big whoop, you wanna fight about it? |