Journaling on estrip is easy and free. sign up here

Paul's Journal

paul
My Podcast Link

01/22/2011 16:18 #53476

Objective C and XCode Suck
Category: programming
First of all my nook color is going to bankrupt me. The ability to have every computer book on one convenient, internet accessible package is overwhelming. Especially when they use such sneaky tactics as sending me an email saying, "Its snowy out, wouldn't you like to get a new book for your nook without having to leave the house."

Anyways, the point of this is that I got an objective C book so that I couldn't finally spend some time on it and it does in fact suck. For me, its simply too verbose and the NS (NextStep), camel case bullshit kills it.

That plus Xcode is so freakin awful. I thought an apple designed IDE would be refreshingly better. Turns out not to be the case. It makes me miss eclipse. Apple seems to be losing it to me anyways. Just look at the non standard interface for the new app store and the new itunes. I think the only reason they are generally successful with design is they cut out features until there are very few things to add to the design. Of course its easy to have a clean interface on something that only has a few options. I guess Xcode is an example of what they do with a larger, complicated application..

Xcode gets to the point where you have ~10 windows all open and even have to drag between them to accomplish stuff. And yes, I can remember all the keyboard shortcuts to bring the different parts I want to the front but its still a cluttered mess.

Enough with Xcode, this was supposed to be about objective C.

image

Well here is an example of my point about objective C. Several language comparisons of making arrays.

Objective C
NSMutableArray *items = [NSMutableArray arrayWithObjects:@"One", @"Two", @"Three"];

Javascript
var items = ["One", "Two", "Three"];

PHP
$items = array("One", "Two", "Three");

Perl
@items = ("One", "Two", "Three");

Java
String[] items = {"One", "Two", "Three"};

C#
string[] items = new string[] {"One", "Two", "Three"};

Ruby
items = ['One', 'Two', 'Three']
paul - 01/25/11 19:48
Thats not fair. Those are string in my example and you are using integers. They all would be small with integers.
tinypliny - 01/23/11 16:27
a < - array (1, 2, 3)
tinypliny - 01/23/11 16:27
Yikes, it cut my R code out.
tinypliny - 01/23/11 16:26
And in R
a
jim - 01/22/11 17:35
Yeah, the superset-of-C syntax craziness is pretty unbearable, and they haven't even allowed garbage collection to be turned on in iOS apps.

01/22/2011 14:28 #53475

Basra The Sulcata Hunts Furball
Category: pets


I did not speed this up but when I copied it to youtube it was on superspeed. You can't tell me sulcata tortoises are not hunters. We never feed him any meat as he is supposed to be vegetarian but he seems to think otherwise. His usual diet consists of lots of hay and dandelions.

Yet he killed and ate one of our parakeets when it escaped and once I found him with a squirrel paw in the backyard. Then one day matt had the hamster in the tortoise pen and he chased it all over. He enjoyed chasing it so much I decided to make him a fake one out of fun fur to protect the hamster.

I pretty much spent my entire birthday sitting in his warm room and chatting with my friend yvonne on facebook.
metalpeter - 01/29/11 19:18
Sorry to Assume that isn't a common name I have only known two in my lifetime.... The thing that is both good and scary about facebook is how everything it linked to it... For example this new computer at my mothers has windows what ever is the newest and with windows live you can down load pictures then sign in and upload them to facebook I guess there is a way to set it up (Not sure how) where it like remembers you are signed in. So yes you can put up pictures of say the bandits game or what ever but (yes they would get pulled down at some time) but you could also put up pictures of some chick blowing you or a you and a buddy getting high and one could argue one could ruin their life in under 20 minutes.... Or some else and it links to so many sites. Not sure how it links with yahoo but it does some how... The Face recognition software for pictures is amazing but again kinda scary and creepy at the same time.........

In Terms of Basra maybe someone should put a warning sign on his door.... Don't want anyone passing out in there and waking up missing a foot, HA.....
paul - 01/29/11 18:38
It wasn't (e:imk2). It was someone I knew from when I lived in Germany. She isn't only Facebook friend and I don't write anything there. I originally signed up so I could get a developer account. Then I lost interest.

As for Basra, I bet he would eat me if I passed out in his room.
metalpeter - 01/29/11 15:33
1. Yvonne is Awesome
2. Don't forget to feed him or you may become his Dinner some day
3. A very Late Happy Birthday
4. YOU USED FACEBOOK!!!!!!!! Is the world coming to and End, Kidding
tinypliny - 01/23/11 16:28
There are worse ways to spend a birthday - like taking an 8 hour final exam. :-)

01/21/2011 18:37 #53467

Its on fire
Damn, home depot really wants to sell this refrigerator.

image
metalpeter - 01/29/11 15:34
I so want that is one bad ass looking fridge
lilho - 01/23/11 13:54
does it come with the attached fire cut out???
brit - 01/21/11 22:39
hur hur hur... for some reason i find this really really amusing! happy Birthday Poosie x
tinypliny - 01/21/11 21:01
10% of what? 20K?

01/21/2011 11:55 #53465

Repairing the imac
Category: hardware
Would it have killed them to make the broken hard drive slightly more accessible?

image

image

image

01/21/2011 11:06 #53464

Long Night and Long Day
Category: work
So we bought a new car, fixed the imac by replacing the hard drive, got a replacement part for the furnace and today the oven and television repair guys are coming. What is next?

-- Well, the oven repair guy just came. Of course, when he got here the oven is no longer locking itself and and making the F43 locked door shriek. He is ordering us a new controller and lock that should come in 10 days.

The television guy is yet to come. Eventually, this will all be done. I can't wait, then again I seriously worked till like 4am. Luckily, I enjoyed what I was doing to some degree.

This morning National Grid called because the tenants downstairs at Nonna's never transferred the electricity over to their name and they want me to let them in to shut down the power today - friday.

How can the tenants be so dumb to let this happen. They will have no heat. Tony told me they have known about this for months. He also said National Grid threatened to turn it off at the pole which I can't understand. Wouldn't that shut off electricity to the whole house?

Tonight at midnight is my birthday and I still have no plans/ideas. There was honestly nothing I wanted or wanted to do. I hope 34 doesn't suck.
heidi - 01/21/11 22:35
Happy birthday!!! Hmmm... 34 was an intensely crazy life-altering year for me. I hope yours is much more tranquil.
paul - 01/21/11 13:54
The TV guy fixed the TV and for free. All that leaves is the oven.
leetee - 01/21/11 12:49
it totally sucks that things always seem to break at the same time. it doesn't rain, it pours. the positive side to that is once it is all done, it is back to sunny skies.

good luck with it all, Paul.

And, an early Happy Birthday!! :O)