Skip DMG verification by default in Mac OS X

I’ve been using OS X for a while now, and one thing that really irks me, especially on larger DMG files like a Leopard image, is that OS X automatically tries to verify the checksum of the DMG image file, which could take hours.

There are a few applications out there that will disable this for you, but if you want the quick and dirty method, and don’t mind using the Terminal once in a while, use this one-liner to disable the verification easily:

defaults write com.apple.frameworks.diskimages skip-verify true

Ubuntu 6.10 Edgy Eft Beta Released!

I’m pretty excited because this weekend Ubuntu announced that Edgy is now in Beta!

From the Ubuntu site:

“The full release notes can be found at https://wiki.ubuntu.com/EdgyEft/Beta

Highlights include:

  • On the Desktop
    • GNOME 2.16
    • OpenOffice.org 2.0.4 RC 2
    • X.org 7.1

    On the Server

    • Task selection for easier installation of mail servers, web servers, etc.
    • A pre-release of the upcoming LTSP 5.0 with support for local devices, printers on thin clients as well as language and session selection from the LTSP login manager, network swapping, etherboot support out of the box and many more additions and improvements like network swap support that reduce the minimal requirements for thin clients to 32MB memory.

“Under the hood”

  • GCC 4.1.1
  • glibc 2.4
  • Linux 2.6.17
  • New init system.

As always, Ubuntu includes the very best of the 100% Free / Libre application software world, and each new release incorporates countless newfeatures and bug fixes from the global development community.”

6 Things You’ll Love About Longhorn

Forget Windows Vista.

The real new, exciting operating system from Microsoft is on it’s way and is supposedly slated for January.

Here’s a shortlist of reasons why you should care and what to look for:

LLMNR – Have you ever had master WINS browser woes? Name resolution problems? Microsoft wants to make this a thing of the past. In my experience this has been one of the largest pains – when the master browser goes down you lose name resolution. LLMNR fixes that. I’m happy. Testing the current Windows Server Codename Longhorn on virtual networks has shown so far that it works as expected already. I’m still happy. Basically this is multicast DNS (mDNS). Follow the link for a nice wiki article that will surely convince you.

Core Server Mode – Longhorn has a new locked down mode meant for bare-bones brass tax servers. They call it Core. What this means to the regular Windows admin is that there are no more wizards. Heck, there’s no more standard graphical UI. You get a command-line shell (DON’T call this DOS, they’ll find you!) to play around with. Servers are configured via preconfiguration scripts, this shell, and remote administration tools. If this is as fast and secure as it is supposed to be, it’ll be gravy. What you DO get: DHCP server, DNS server, file server, active directory, read-only domain controller, cluster services, load balancing, and services for Unix. That’s right, services for Unix is there too.

Windows Server Core

Application Publishing – I covered application publishing in Longhorn previously, and it’s what I am most excited about, to be honest. Pick an application, fire up the wizard, make an RDP file and send away to clients (even older XP terminals) – it’s that easy. While this will take the bread out of a lot of app vendors hands, it also allows for a wealth of innovation and I simply can’t wait to see what happens here.

Remote Desktop Connection 6.0 – In the same vein, and under the Terminal Server umbrella, the Remote Desktop Connection client gets an update that adds some much-needed and oft-asked-for features. Namely: PnP redirection for media players and digicams, multiple monitor support (I’m talking to you, Bill), desktop theming, and single sign-on. Whew. I’ll have to get into this one later.

Sharepoint V3 – It’s bigger, badder, and better code for Sharepoint. Better integration with Office 2007, faster load times, more features (of course), and item-level access control. Not to mention RSS by default – that’s was the deal-closer for me. Nor more need for infinite emails sent via alerts – just use RSS! Much like Apple, Microsoft has become a fan of RSS and it’s good news all around.

IIS 7 – You’re laughing. I see you snickering. Yes IIS is used externally, and its market share is growing right now, funnily enough. In IIS 7.0 you get reduced attack surface through feature modules. This is marketing-speak that means you can disable IIS services you don’t need. You get easy replication using web configuration files. And lastly you get better admin tools. Well slightly better anyway. This isn’t Plesk, Ensim or CPanel, but it’ll have to do ’til those guys get around to supporting Longhorn.

That about sums up the good things I’ve seen and tested to date on my virtual machines (VMWare Server, Virtual Server R2 and Parallels). Feel free to chime in about what tickles your fancy or rattles your chains, I’m all ears.

Ruby on Rails installed by default in Leopard

This is more of a teaser, but my dream has come true! Ruby on Rails is now installed by default on Apple Mac OS X 10.5 Beta (Leopard WWDC edition). Getting it up and running is really a snap.

Here’s the quick and dirty way to make a sample Rails environment and start the server.

Firstly, open the Terminal application. You know the scary black window with white text. Well actually it could even be white with black text – your mileage may vary (mine is black with green, for example).

Anyway, we’re wasting time – this is quick and dirty right? Otherwise I would be talking about chunky bacon.

In Terminal, type:

rails example

You’ll be met with a nice list of scrolling lines and when it’s done your “example” Rails application will have been initialised.

And that’s pretty well it!

Moving on, we want to see something tangible to prove to ourselves just how flippin’ impressive this really is, and why you knew when you saw that Apple Developper Connection article about Rails you knew good things were to come.

In Terminal, once more, sweating profusely now, we type:

cd example

ruby script/server

This runs the server for us. Once it has been set up, you can safely minimize the Terminal, and fire up Safari, Firefox, Camino, iCab, heck even Internet Explorer. We’re navigating ourselves to: 127.0.0.1:3000

Here’s what we find there (click the thumbnail to enlarge the screenshot):

Ruby on Rails 1.1.2 running on OS X Leopard

The nitty-gritty (no dirt band):

  • Ruby version – 1.8.4
  • RubyGems Version – 0.9.0
  • Rails version – 1.1.2
  • Active Record version – 1.14.2
  • Action Pack version – 1.12.1
  • Action Web Service version – 1.1.2
  • Action Mailer Version – 1.2.1
  • Active Support version – 1.3.1

It’s set up in a development environment by default (where you want it), using the sqlite3 database adapter (pretty typical).

Next time we’ll show you how to update these and run irb. Until then feel free to vote in our poll and support us!