Hacker News new | past | comments | ask | show | jobs | submit | chadkeck's comments login

Here's the prompt I ended up with after several iterations of Claude trying to spit out Objective-C 2.0 code:

"This project must generate code that works with Mac OS X Tiger 10.4, Xcode 2.5, and Objective-C 1.x. The Objective-C code generated MUST NOT have ARC, blocks, @property, @optional, @try, @synchronize, NSInteger, auto-layout, or modern features, NSCharacterSet doesn't have newlineCharacterSet. I know it's an old, obsolete version but I must use it.

Generate clean code with comments and debug logging to NSLog."


Any reason Xcode 2 was chosen? Wouldn't have Xcode 3.2.6 on Snow Leopard but targeting OS X 10.4 and including ppc as an architecture also worked?


> Any reason Xcode 2 was chosen? Wouldn't have Xcode 3.2.6 on Snow Leopard but targeting OS X 10.4 and including ppc as an architecture also worked?

I forget exactly why I used Xcode 2.5, but I wanted to do it on Tiger since that OS was the one around the time Xbins started. It probably would've been a bit nicer working in Snow Leopard, but I just chose Tiger.


I never came across Auto-Xbins, but it's good to know it existed. Hopefully it got a lot of use over the years.


> Basically, just write the software as if it's the year your target platform was released. It shouldn't be more difficult than writing any software was back then. Heck, it may even be easier because you have access to more modern tools, like AI.

I used Claude heavily for this project. I doubt I would've put the time in to get this to an acceptable release state without being able to use Claude. I did buy a few old books and reference them for Xcode things, but most was done with Claude.


> One thing I noticed is that the main menu has some items I don't think apply to your app:

Yep, I'd forgotten about those default menu items and need to remove them in a future version.

> Is it possible the irc server detected your app as malicious activity?

Yes, during my testing I got banned with a similar message from one of the servers. Uppercut randomly selects an EFnet server from a list, so trying again may have everything go smoothly. I'm not sure what exactly some servers are looking for to determine a ban or not.


> Very cool. Is Tiger the minimum bound for the app itself, or just for the Intel Mac? I have 10.1 on a Wallstreet and can give it a shot if not.

I recall seeing stuff in Xcode about building for down to 10.2, but I don't have anything set up to test on 10.2. I'd bet this build won't work on 10.1.


Good to know, thanks for testing on PPC.


1995, not 1955.


Ha! Thanks for the correction. Comment's no longer editable.


Same here for the OG Xbox. Lots of TSOP flashes for friends over SSH after booting a saved game exploit for 007: Agent Under Fire. Reading lots of the forums on xbox-scene.com. Learned to solder with a soldering iron I picked up from the local Radioshack.


Xbox modding (and similarly with the Wii) was a huge entry-level introduction to so many computer concepts.


Yeah, the cache manifest will be the next feature for Browser Hash :)


The code is up on github. I will add the MIT license soon (do what you want with the code).

The hash functions came from Paj here: http://pajhome.org.uk/crypt/md5/

IIRC, Firefox's add-on API already has an MD5 calculation method.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: