Archive for the ‘OS X’ Category

RIP Stepwise.com

Wednesday, November 4th, 2009

Sadly, Scott Anguish decided to pull out the plug of Stepwise. This site was for me the place to be in the early OS X days. Scott was one of the first to provide details on setting up *nix tools on OS X. Since 2004 or smth, the site slowly died. But I still visited stepwise daily to check the collection of news bits from Scott his rss feed. Always good for developer-related news items main sites missed.
Scott has his own blog at http://www.abandoninplace.com/, but it misses the nice selection of developerfeeds.

The best RSS reader for OS X…

Thursday, January 10th, 2008

Has become a free download o0?
I have bought this application 3 years ago or something, because it simply rocked. Apparently the recent additions of Leopard concerning RSS feeds, have made newsgator to release Newsnetwire for free and keep some market-share.

It would been even better if it would be made an open source project…but who knows :)

Anyway…it can be downloaded here

Dashcode

Wednesday, January 10th, 2007

Apple released a public beta of Dashcode to ADC members (including the free accounts). I have to say I am deeply impressed.
It has still some quirks, but it is stable and has stunning features.

I started this week to play around with it and I can assure you it’s fun.
Implementing a Scrollarea gave some problems for me tho.
(I admit, has a lot to do with my JS n00bness…but hey…)

If you you update the content of your scrollarea, don’t forget to refresh it…

example:

if (logstatus == 0) {
		loginhoud = logcall.outputString;
		content.innerHTML = loginhoud;
		document.getElementById("scrollArea").object.refresh();
	}
	else {
		content.innerHTML = "Problem fetching server data...";
	}

I think this is missing in the documentation…(yup, reporting it to Apple as well).

AJAX with Safari

Friday, December 15th, 2006

Mental note to myself:

When making a POST request with XMLHttprequest and Safari(v2.0.4), always generate some content for the browser.

If not, the status will always be undefined.
example:

if (!$mysqli->query($insert)) {
  trigger_error("error writing data: ".$insert);
  exit;
}
else {
  echo "0";
}

This costed me some hours pulling my hair….
The following javascript works like a charm when you return a “0″ at the end of the php file called with POST. If you don’t return anything, Safari will decide that the HTTP headers are undefined and thus call the error handler.

KwAjax.ContentLoader.onReadyState=function(){
  var req=this.req;
  var ready=req.readyState;
  if (ready==KwAjax.READY_STATE_COMPLETE){
      var httpStatus=req.status;
      if (httpStatus == 200 || httpStatus == 0) {
        this.onload.call(this);
      }
      else {
        this.onerror.call(this);
      }
  }
}

Good ol’ OS 9

Tuesday, November 28th, 2006

Funny.

I was one of the early (I think my 1st installed OS X version was developer release 4) adapters of OS X. And I very rarely thought back of OS 9/8/7/6. All the new thrills of the new OS made you forget about the good things of the classic OS’s.

This blogentry however sumarizes the most missed features of the old classic OS.

I personally miss feature #6. Tabbed folders the most.