Recently, NetBeans was not able to start up Mongrel automatically from a Rails project. I had to open up a console and manually start “script/server” - not what I expect when using an IDE. I thought it was because of Rails 2.3.x - unsupported by Netbeans as I suspected.The actual reason behind it was the update to Ruby 1.8.7 in Snow Leopard! Make sure to give that info to Netbeans via the “TOOLS” -> “RUBY PLATFORMS” window. Just delete your old Ruby record from the list left (don’t delete JRuby, though) and click the “AUTODETECT” button (red circled below):
After that, you’ll see the new Ruby 1.8.7 (see screenshot below). Click “Close” and voilá!
From these days on, I am a student of the University Paderborn after I quit at the FHDW in the same city. Several facts were reasons to change the university and I hope I’ll be fine at my new alma mater
I’ve just uploaded my recently made presentation about UML 2.0 class diagrams. The German presentation introduces the audience (university) to the UML, object oriented programming and then gives a detailed overview about the notation and graphical representation of UML classes and their relation ships, all with examples.
Another quick note… In order to test my web apps with Internet Explorer 6 (yeah, a lot of Wintel users still browse with it!), I always had to use my Windows 2000 virtual machine. I knew it was available via CrossOver, but didn’t want to buy it… It was available via Wine, but I didn’t have the time to figure out how it works.
Now I found ies4osx — which makes is so easy to install multiple Internet Explorer (Windows) versions in OS X via Darwine:
Must have for every web designer developing on OS X out there!
(… and man, I know, this is not brand new stuff — but I just found it and thought I should share with you!)
Just a quick note… A colleague showed me Evernote, a software/web application to easily capture, organize and sync notes, snapshots and website extracts to all my devices: my MacBook, Windows PC, my mobile and even my office computer via there ajax-web-interface. They have a demo video online.
Capturing is just a click in a browser button or menu bar icon. When you capture a website the URL is saved as well and you can even select parts of the website to save, including images.
Their search-function is amazing: They not only search through all the plain text via web or desktop software (even spotlight on mac!), but also do some kind of text recognition with the captured images, which you can find then (they even understand handwriting).
I hope that this will keep my desktop cleaner from all those links to websites and notes all over my hard disk and dashboard.
Ouh, almost forgot: It’s invitation only — I have a few left, just drop a note if you want one!
Just a quick post to save someone else’s problems while compiling Rails from source…
I had to compile it from sources since the server I had to deploy the app on was an old SuSE machine for which only outdated Ruby/Rails RPMs existed…
Ruby compiled without problems, and Gem installation was very simple. — But then installing Rails with dependencies always failed with “SSL not installed on this system“.
I found the solution in “comp.lang.ruby” and it is so simple… You only have to compile OpenSSL-Ruby-Extensions (of course you need to have OpenSSL for your system, but I assume that you’ve already figured this out)!
If your Ruby-Source-Dir is /root/ruby-src/ you have to do (as root or with sudo):
cd /root/ruby-src/ext/openssl
ruby extconf.rb
make
make install
Today I found a wonderful tool called "Salling Clicker". It connects to my Nokia phone via bluetooth bidirectionally, so I can remote control my MacBook Pro (iTunes with cover art and searchbar, Presentations, etc.), but also - killer feature - locks my screen when I move away from my notebook!
This auto-lock is pretty hot, since there is - at least without third party software - not standard "Windows + L"-shortcut on OS X and you’d have to do 2 clicks to lock the screen. Now it’s automatically and I’ll never forget ;-).
Just a small snipped I’d like to share with you to create a Single-Sign-On for multiple applications, who do not operate on the same (V)Server/Subdomain and/or don’t share their session. It’s also possible, that they operate under different programming languages.
So you can have a user log-in to Application “A” on Server 1 and redirect that user via a link/pop-up to another Application “B” without requireing the user to login again.
It uses a database-server to store login-sessions with a secure and random token-hash, the IP address and an expire-date. Since a database-connection can established from anywhere via TCP, you can use it as well for different physical servers.
I just read about the revival of HTML Version 5 at slashdot or rather in this article here, which describes some of the reasons why we - or the W3C - now need HTML 5 instead of more marketing for XHTML (version 2 exists, but no major browser supports it…). Read the rest of this entry »
After my MacBook Pro order on June 9th, 2006, I was really looking forward to get in during the next week… Now it’s almost 3 weeks later and it still isn’t built yet in Cork, Ireland.
My dealer “MacTrade” said it was because of the 7200rpm-hard disk I ordered and that Apple is only delivering the 17″ models right now.
I guess I have to wait another week… or 2… or three… but waiting a month to get a notebook >2500€ is really not what I expect from super customer-focused Apple Inc.
June 12, 2007 at 4:43
· Filed under Tutorial, Java
Da nun der neue Blog steht, kann ich auch wieder alte Inhalte hochladen, wie z. B. das Referat über Exceptions in der Java Programmiersprache aus dem Informatikunterricht.
This is some news from the WWDC - prolly the most important for the web designers and the professional windows users: Safari, Apple’s (former only Mac OS X) web browser, is available for Microsoft Windows XP and Vista!
It’s still a beta, but feature-complete… I immediatly restarted to Windows XP to give it a try - it works … okay…., fonts look smoother and more “anti-aliased” then with Firefox or IE7. Some sites don’t show text where it’s expected - hey, it’s a beta (see screenshots).
So in future, I don’t have to miss my favourite browser when I’m using windows (not a lot though)!
Oh, and: Of course the release of Sarafi 3 for Windows also means an update for Mac OS X Tiger!
I’ve put are some screenshots on Flickr… Some compare sites with IE7, one shows a youtube-video and… the successfull Acid2-Test in Safari !
Michael Whittaker that's me! I'm studying 'Business Informatics' at the University of Paderborn and am a student assistant at the Chair for Information Management and E-Finance. As a freelancer, I enjoy development of custom web applications (Rails or PHP), project management and iPhone-development. I live in Paderborn and Gütersloh.
Read more!