Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Should I buy a PowerBook or a PC?

I received the following e-mail from Jason Boutwell a couple of days ago (published here with his permission).

I'm in the market for a new development laptop, either a P4 or a G4. I see from some of your older blog posts that you went through the same thing last year. First you went with a P4, then ended up with a PowerBook, so you've done both.

Since we seem to have similar professional interests (jobs where you BYOL, developing J2EE apps with tools like Hibernate, Struts, XDoclet, IDEA, etc.), you seem an ideal person to ask.

It's as simple as this: you can't beat the form-factor of the PowerBook. The fact that it's so small and light really make it a killer laptop. iPhoto, iMovie and iTunes are all killer apps and make digital photography and video so much easer. However, as a development environment - it sucks. It's sooooo much slower that my Windows XP desktop (that only cost $800).

My perspective of the speed difference might not be fair though - desktops (most likely) will always be faster than laptops. However, to run "ant deploy" for AppFuse takes 23 seconds on my 2.6 GHz CPU / 1.5 GB RAM desktop and 36 seconds on the PowerBook (1.33 GHz CPU / 1 GB RAM). It is difficult for me to develop on the Mac after developing on my PC for awhile, it's just so much slower. That being said, I don't think I'd be happy with a PC laptop - they're too ugly and bulky (for the 17" models) and don't offer the slick digital hub integration that the Mac does.

Don't expect the PowerBook to be a desktop replacement. And if you've never used a Mac, prepare to be frustrated. I've been a Windows user for 10+ years and getting used to the way a Mac works is not easy. It's been most frustrating for me because I can navigate around and do stuff on Windows really fast - it's almost like second nature. On the Mac, I have to think about how to do stuff. I think that Mac or Linux users migrating to Windows would feel the same frustration.

Above all else, you need to experience a Mac first hand. Go to your local Apple Store and play around with one. Download your favorite IDE and checkout an open source project from SourceForge. Download and install Ant and try compiling the project. You're gonna love the feel of the Mac, but you might find it's a bit slower than you're used to.

The one problem with not buying a PowerBook is that you'll always long for one. ;-) Would I buy a PowerBook again? Definitely. Would I give up my Windows desktop for a Mac desktop? No. Why should I give up all my years of becoming an efficient Windows user to be a slow-ass frustrated Mac user - it just doesn't make sense.

Posted in Mac OS X at Jan 10 2004, 05:58:17 PM MST 23 Comments

RE: My Predictions for MacWorld Announcements

I'm pumped that no super cool announcements came out of Steve's Keynote today. I dig that they've just enhanced my favorite Mac apps (iLife). If they would have announced new PowerBooks or cheaper displays, I could easily justify an upgrade... and my budget couldn't. So I say, "Thank you Apple. Thank you for not tempting me."

Posted in Mac OS X at Jan 06 2004, 05:30:23 PM MST Add a Comment

My Predictions for MacWorld Announcements

MacWord 2004 Tomorrow is a big day for Mac enthusiasts. Steve Jobs will announce the next big things from Apple. I predict we'll get a $100 iPod (1000 songs), a 2.5 GHz Power Mac G5, and the one that'll blow everyone away - a 2 GHz PowerBook. I can dream, can't I? My 1.33g/1r PB easily feels 3x slower than my 2.6g/1.5r XP machine....

Honestly, the iPod and the PowerBook are the best Mac products - products that even PC owners gawk at. The $100 iPod is a must, the 2 GHz PowerBook will take the world by storm. My other fantasy is that the 23-incher's price drops to $1000...

Posted in Mac OS X at Jan 05 2004, 04:48:30 PM MST 1 Comment

Gallery installation and iPhoto integration

Gallery Homepage I installed Gallery (web-based photo album) on my Linux box tonight. The installation was awesomely documented and fairly easy. I did have to download/compile/install a couple of dependent libraries, but the instructions made it simple. Even better, I found the iPhotoToGallery plugin which allows you to publish files to Gallery from iPhoto. Apple's Homepage application kinda sucks for photo management, so I'm definitely digging the Gallery option. Now if I could just find an easy way to export/import from .Mac to Gallery.

Posted in Mac OS X at Jan 01 2004, 11:25:53 PM MST 4 Comments

RE: Wake a Sleeping Mac (Remotely)

If this is true, and I can wake my Powerbook(s) remotely, it'd be wicked cool. Since I never turn them off (they're always sleeping), remotely waking them would make it seem like they're always on. Crosses fingers and grins.

Update: I got it working using this perl utility. However, it only works if I have an Ethernet cable plugged in. Since I never use an Ethernet cable these days (isn't the whole point of a laptop for the wireless connectivity?), wakeonlan is not an option for me - until the AirPort cards support it.

Posted in Mac OS X at Dec 29 2003, 11:51:17 PM MST Add a Comment

I'm impressed - Apple replaces hard drive in less than 48 hours

I sent out my PowerBook on Tuesday at 4:00 and got it back today at 1:00. That's pretty darn quick for a mail-in repair! Now begins the process of upgrading to Panther (they installed 10.2.7 on the new drive) and restoring files. Hopefully I can get back where I left off.

Posted in Mac OS X at Dec 11 2003, 01:42:24 PM MST 1 Comment

Is my PowerBook hosed?

OK, it might a bit of a foolish experiment, but it sounded easy enough on my way back from lunch. I figured since I could use my PowerBook as a Firewire Drive on my other PowerBook, doing the same on Windows XP should be a breeze. It seems that's not the case. I "initialized" the disk on Windows XP and it didn't show up as a drive letter - so I tried to back out. Now my PowerBook won't boot. I tried resetting the PRAM, running Disk Utility from the Panther CD, and even running DiskWarrior from my iPod - all with no luck.

The good news is that when I boot from my iPod, I can see my hard drive and access its files - it just seems like the Master Boot Record got overwritten by Windows. Here's my post on Apple's Discussion Board.

If nothing else, this is a nice way to get me off the computer for the weekend. Rather than spending all night trying to fix it, I'll wait until Sunday and take it to the Apple Store (pending an easy solution). If all else fails: backup, archive and install should work. This is my primary dev machine at my client, so I will need it for Monday morning.

Shucks, and it sounded like it would be sooooo easy... ;-)

Posted in Mac OS X at Dec 05 2003, 05:44:06 PM MST 5 Comments

Need to recover deleted files on OS X

OK, I'm an idiot. I had a symlink in /Users/mraible/Sites that pointed to my application's prototype directory. This was called Sites/appname -> /Users/mraible/dev/appname/prototype. I wanted to change the symlink, and instead of doing "rm appname" - I did "rm -r appname/" - I tabbed-completed it and hit return. So I deleted all the files for the prototype I've been developing. The worst part? My new gig has not set me up with VPN Access (for CVS), so I haven't checked in any of these files. I work from home on Friday and Mondays - and I was just beginning the prototype on Thursday. I thought I'd be able to get the HTML files from the prototype directory, but no luck yet. I have DiskWarrior and when I boot from my iPod and "repair" my hard drive - I get errors at the end and I can't "Preview" the changes. I don't even know if DiskWarrior will work, so I downloaded Virtual Lab and tried it. It doesn't seem to have a setting for HTML files (except for "Microsoft Internet Explorer HTML", which is probably *.htm files).

Even more frustrating is I "should've" had a backup. I just got on a kick last night to make backups of all my machines. I was able to backup Linux (using tar) just fine, but the "Backup" program on OS X kept giving me errors and I gave up after a while. I continue to search for a solution to recover the deleted files - any advice appreciated.

Update: I found the file I spent the most time developing and was able to restore it. How? Certainly not any fancy tools. Just a little searching in Safari's Cache. Apparently it was the only one I opened via an http:// URL - the others I opened with file:// and I don't think it caches those.

Posted in Mac OS X at Nov 10 2003, 07:03:01 PM MST 4 Comments

Rsync Bookmarks

Chris has a couple of nice links about Rsync. I've been looking to use rsync to backup my iTunes Library on my Linux box in case my laptop dies. Hopefully these links will serve as nice bookmarks when I finally get around to doing this.

Easy Automated Snapshot-Style Backups with Linux and Rsync - You know you need it. (Also see OSX-specific tasks and tips.) [cwinters.com]

Posted in Mac OS X at Oct 30 2003, 02:44:32 PM MST 2 Comments

Panther ships with postfix instead of sendmail

I've been using localhost as my smtp server for quite some time on my PowerBook. It hasn't worked for a couple of days, and therefore, I've just stopped sending e-mail when I'm at work (I use my ISPs server at home). Finally, I buckled up and did 5 minutes worth of research to figure out the problem. It turns out that Panther doesn't ship with sendmail (which I previously had configured), but rather postfix - which I've never even heard of. Thanks to a little searching on the Apple Support site, I came across this discussion which has detailed instructions on how to configure postfix. The bonus is and that they actually worked! I still don't know what postfix is, but I assume it's just like sendmail, but for some reason it's better (or why would they have replaced sendmail).

Posted in Mac OS X at Oct 29 2003, 11:13:47 AM MST 4 Comments