Author Archives: Phil

How to: Single Sign-On on SAP Service Marketplace with Chrome on Mac OS X

Today, I tried to login onto the Service Marketplace with Google Chrome on my shiny new Macbook Pro. On the upper right corner you find “Benefit From Single Sign-On” – and if you go through the steps, Chrome will download a file called usercert. This is a mime/multipart file, containing your certificate (X509) and some HTML. What you want to do is extract the certificate. To do this, get a HEX Editor for Mac. I used Hex Fiend.

Fix Django’s Unable to configure filter ‘require_debug_false’

Error on my ubuntu server:

ValueError: Unable to configure filter 'require_debug_false': Cannot resolve 'django.utils.log.RequireDebugFalse': No module named RequireDebugFalse

Fix:

apt-get install python-pip
pip install --upgrade django
[..]
You have just installed Django over top of an existing
installation, without removing it first. Because of this,
your install may now include extraneous files from a
previous version that have since been removed from
Django. This is known to cause a variety of problems. You
should manually remove the
/usr/lib/python2.7/dist-packages/django
directory and re-install Django.

Well okay..

rm -rf /usr/lib/python2.7/dist-packages/django
pip install --upgrade django

Done

 

 

 

 

Growl 2.1.2 Download / Binaries

The good people at growl provide the source code for growl on code.google.com and the binaries on the App Store. If you’re a cheapskate like me, you’ll save yourself 4 bucks and build the thing yourself.

Just in case anyone else wants the file, here you go Growl.app.

Spring Roo not ready for google appengine (yet)

For all who haven’t seen Ben Alex‘s presentation on stage at Google I/O (full length video here) should do so now.

Spring Roo looks very promising for rapidly developing applications for Google AppEngine. SpringSource Tool Suite is the IDE I used to test the sample code and tried to write my own.

Unfortunately, Spring Roo is still a work in progress and (at least for me) not usable to do anything useful. In fact, I’ve not been able to run a hosted google appengine successfully.

  • GWT SDK is always missing (“No GWT SDK in classpath”) – you need to open the GWT settings dialog and then close it again (yes, really).
  • You need to enable Dependency Management (you’re expected to know this, the error is “Could not find any host pages in project“)
  • “perform” (to test and package – to run mvn commands) output is not shown, so you don’t know if your build has failed or not. (ROO-867) (Update: Fixed in 1.1.0.M2)
  • Roo together with Datanucleus’ data enhancer does not seem to work with GAE SDK 1.3.4 (“Found Meta-Data for… but this class is not enhanced!! Please enhance the class before running DataNucleus.“) (I have no idea to get around this)

So when SpringSource saidTight integration with SpringSource Tool Suite and Spring Roo to provide a polished, productive developer experience”, it was mere marketing speak.

Update: While I stand by me snarky remark – I will revisit Roo in the coming months.

Switch.ch / NIC Blocking WHOIS Requests

Since 2002, when Microsoft abused Switch’s WHOIS Service they’ve introduced very strict policies and technical baffles.

Today I tried to lookup a .CH domain using whois.nic.ch – without success:

They seem to block requests based on subnets, not on IPs, so all I got was:

[Querying whois.nic.ch]
[whois.nic.ch]
The number of requests per client per time interval is
restricted. You have exceeded this limit.
Please wait a moment and try again.

Air Force One Exposed

As the SF Chronicle reports, there is a website, exposing Air Force One’s inner workings.

Well.. Here you go: Page 69: Link

Update: Link is down, but I’ve got the PDF anyway 😉

Debug Your Remote Geek Style

As you may have read, I’ve bought a Logitech Harmony 885. Now the remote is good, but one single button does not seem to work: the Channel Up button. So what do we do? We test, try, let the remote learn IR commands and almost resign. But how can you be sure your remote does not a wrong command but doesn’t send any command at all?
Simple: Get you digital camera out and take some pictures:

Harmony885 IR working
working, you can see the light
above my thumb.
Harmony885 IR not working
no light, not working

Follow Up: Xbox Hackable After All?

As a video on youtube show, it has been done. The Xbox 360 is hackable and has been hacked. Now the BIOS has not been flashed yet – the hack shown is using a hacked DVD drive using a modified Firmware. All you need to hack is a Firmware writer, but sooner or later you will get either hacked drives to buy or pre-hacked xboxes I guess – see you on ebay!
http://www.youtube.com/watch?v=XyZQ4k7Bi-8

Goole Books

As an entry in their Help Center states, Google is having a partner program for publishers, who may grant ‘online access’ to their books.
http://books.google.com/support/partner/bin/answer.py?answer=34596&hl=en_US