Posted on 07-29-2008 under
FAIL!,
fiddling with my PENIS

I’ve been doing alot of work lately on the iPhone. I’d love to tell you about it, but apparently I can’t. I’d love to discuss all kinds of great things about it with people online, but I can’t.
I’m not sure why Big Fruit has created this Vacuum of information regarding iPhone SDK development. It really can only hurt them in the long run. And on top of all of it, the NDA makes no sense at all. Essentially, I’m not allowed to discuss something that you can sign up for and read about yourself…
From now on I will be referring to my development as “fiddling with my PENIS” (Portable Electronic Networked I-Something).
If you’re really lucky, maybe soon I’ll post a photo of me fiddling with my PENIS.
-p
Posted on 07-24-2008 under
FAIL!

Words cannot describe the pure awesome that this is… Just found in a project:
<script type=”text/javascript”>
var browser=navigator.appName
var version=navigator.appVersion
if (browser!= ‘Microsoft Internet Explorer’)
{
alert(’You must use Microsoft Internet Explorer to use this site as it has been developed using .NET!’);
}
</script>
I figured I’d be generous and share the pain with all.
-p
Posted on 07-23-2008 under
Things that Kick Ass
I’ve been writing alot of SOAP calls lately. In fact, a whole SOAP library(thanks Apple, for not including one on the iPhone -more on this coming-). To test my library I threw together a quick C# webservice, with some very very basic functionality. Because I’m developing on an OSX system and calling a webservice located in a Win2k3 system, I was annoyed that I could not immediately view the server logs without opening an RDC to the server.

This is where NLog and the awesomely epic Network Logging Target come in. Using NLog I was able to configure it to send all my logs to my OSX system via this rather simple configuration:
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<target name="network" xsi:type="Network" address="tcp://macbox:5555"
layout="${level} ${logger} ${message}${newline}"/>
<logger name="*" minlevel="Debug" writeTo="network"/>
</nlog>
All I have to do on the OSX system is open a new terminal window and enter:
nc -lk 5555
Now I have an OSX terminal displaying the logs from my C#.NET Webservice running on a remote Win32 server in realtime. Delicious debugging fun.
-p
Posted on 07-21-2008 under
Things I hate
Now, keep in mind, generally I don’t think of any language as particularly bad. Most languages exist for a reason. I’m currently of the mind that VB exists only to piss me off, and it was designed purely with that end in mind. Would you like an example?
C#:
if(myObject != null)
{
// do something
}
VB.NET:
If Not myObject Is Nothing Then
‘ do something
End If

not only does the exact same code take too damn long to write out, it looks dumb as hell.
-p
Posted on 07-21-2008 under
Uncategorized
Here it is… The first post of this, my new “blog”. I’m not really writing this to give anything back to the community, or to acheive some sort of geek stardom. In fact, I’d consider my reasons purely selfish. I’d like to keep a record of my thoughts regarding development, and other things technical. In addition I’d like to hone my technical writing skills, and force myself to organize my thoughts and opinions in a logical manner. Other than that, we’ll see what happens.