Nice Weather
Yesterday was 70°F, today is going to be even nicer. You couldn't ask for nicer weather for the ol' bike commute.
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 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.
Yesterday was 70°F, today is going to be even nicer. You couldn't ask for nicer weather for the ol' bike commute.
Jeff has posted a nice tutorial showing how to run Roller on Geronimo. Note that he's using a HEAD build of Geronimo, so you might have to build Geronimo yourself or wait for the next release. I've heard rumors the next release will ship with a Web-only version (i.e. Tomcat and JMS), so that might be a good fit for Roller.
As for pre-compiling JSPs, that's on my to do list.
There's been a few "how to run Roller (or AppFuse)" on X server lately. IMO, the best howto is no howto - it just works. I recently tried AppFuse 1.9 on JOnAS and it ran w/o any changes. Since it uses a Spring-managed connection pool and doesn't require any server configuration, this is how things should work. I've had similar results with AppFuse on Jetty and JBoss (and Tomcat of course).
The only major issue I've had so far with my MacBook Pro is wireless connectivity. It works fine at my office, works great at Starbucks, but not at home. My router is a Netgear WGT624.
The Netgear works flawlessly with my Windows XP Desktop (HP Pavilion 1250n) and PowerBook G4. It works with no password, 40-bit WEP and 128-bit WEP. But not with the MacBook Pro. Is there something special I have to set on my router for it to work with the MacBook Pro?
I posted this question on the Apple Discussion forums yesterday (which appear to be powered by Jive Forums). The response? Crickets. Oh well, I think I'll just leave my MacBook at the office and ignore this issue for now.
Update: Looks like Apple is aware of many issues with the MacBook Pro. Hat tip to Jeff for the article.
A few web development nuggets:
I also noticed a recently updated howto on the AppFuse wiki:
Spring Rich Client with AppFuse by Radim Burget. The amount of documentation being produced by the AppFuse community is truly awesome. Thanks everyone!
Update:
XFire is crazy fast. If you like, you can see for yourself in AppFuse using OpenLaszlo as a client. Hopefully we can include XFire in a coming release, along with Maven 2 integration.
Today we took the kids to Dave & Buster's for lunch. They're not quite old enough, but they do good. Abbie and I race cars and she can't even touch the gas. After a few seconds of waiting, her car takes off and she's driving - hooting and hollering the whole time. Jack isn't quite tall enough - he can peer over the edge and see a bunch of coins in the machine - but has no idea what it does. He does know that the machine takes coins - and loves putting them in. When he won 100+ tickets today, he was ecstatic - pulling the tickets out and giggling to himself the whole time.
I carried both kids to the car on the way out. We have a Honda Odyssey mini-van (they might be cheesy, but they make awesome cars - spoken like a true dad, eh?). Holly opened the door with the remote. It stopped after opening a few inches - and I reached to open it manually. As soon as I got my fingers around the door, it shut. Youch! I screamed like a little girl. After a few seconds, Holly was smart enough to open the front door and I pulled them out. No dropped kids, which was pretty impressive. It's been a couple hours since then. It was only two fingers, but one is still numb. The good news is I'm still able to type - but they're still throbbing.
Ok, I know I dragged this out far too long - mostly due to travel concerns - but let's just pick a date and run with it. So the date for the next Denver Tech Meetup is now officially March 9th.
...
Venue will be - barring unforeseen circumstances - the same as last time, the Wazee Supper Club. It's easy to get to, close to some of the downtown offices, and most importantly, is my favorite.
If you don't know what the Tech Meetup is all about, I like to describe it as a User Group meeting without the User Group; there's no common affiliation other than we're all in tech (and even that rule can be bent , and no technical meetings - just the after-meeting beers/cocktails (and maybe food).
This meeting was a lot of fun last time. Matt Filios and I enjoyed talking to guys doing PHP, Rails and even some developers from the OpenSolaris project. I highly recommend attending.
I received my MacBook Pro this morning, and I've spent the day setting it up, doing some development and running some performance comparisons. The setup was easy: I just booted my PowerBook into Firewire mode and copied over all the files I needed. Everything works for the most part. I did have some issues with IDEA and Eclipse, but got both working after doing a few try and try-again shenanigans. Eclipse was crashing when I'd browse to set my workspace; typing it in manually fixed the problem. IDEA hung the first time I opened it; killing it and restarting fixed the problem.
As far as performance, this thing fricken' rocks! Safari launches in under a second and you're browsing before the dock icons hits the top of its first bounce. Firefox is a different story (likely b/c it hasn't been compiled for x86) - it takes 10 seconds to launch. The good news is once it's up, there doesn't seem to be any performance issues. Safari is amazing though - the speed does wonders for GMail and it actually feels like a desktop application.
When I mentioned yesterday that I was going to compare the MacBook to my desktop, Rob Williams said it wasn't a fair comparison. I agree - but I really wanted this machine to be the best machine I could possibly buy. With my (very unofficial) performance tests, it appears like it is. It's faster than my dual-core AMD 64 desktop machine that has 3 GB of RAM. Now, I have had the desktop for a couple months, so it's possible I'm suffering from OS Rot, but still - it's impressive it keeps up. Here are the numbers from my Performance Comparisons page:
For the tests below, I used Java version "1.5.0_06" and had the following variables set: JAVA_OPTS=Xms256M -Xmx384M, $ANT_OPTS=-Xmx256m. I used the CVS version of AppFuse (1.9.1-dev).
Computer | Operation | Time (mm:ss) |
---|---|---|
HP Pavilion a1250n with Windows XP Media Center (dual-core 2 GHz AMD64 3800+, 3 GB RAM) | appfuse: clean package-web | 00:15 |
appfuse: setup test-all | 01:51 | |
PowerBook G4 with OS X 10.4.5 (1.33 GHz, 1 GB RAM) | appfuse: clean package-web | 00:30 |
appfuse: setup test-all | 03:31 | |
MacBook Pro with OS X 10.4.5 (2.16 GHz, 2 GB RAM) | appfuse: clean package-web | 00:12 |
appfuse: setup test-all | 01:28 |
A couple of interesting things to note:
Conclusion: The MacBook Pro is one of the best machines you can buy (laptop or desktop) for Java development. As for the battery life? I'm still doing the "calibration", so I'm not quite sure. Nor do I care - I plan on having this thing hooked up to my 20" cinema display that Virtuas was kind enough to get for me. The display combined with a mouse, keyboard and iCurve is a very nice setup.
Update: I pulled out the memory from my PowerBook and put it back in. Upon reboot, it resulted in the correct (1 GB) memory setting. The numbers above appear to be accurate regardless. I ran some tests again and times were actually slower (maybe because I'm on battery power).
Daniel Steinberg has bravely started writing about his daughter, Elena, after she died of bacterial meningitis.
I've known Daniel for a couple of years now, through conferences and his writings at java.net. Reading his opening entry "Dear Elena" is a very emotional experience. As a parent, I can't imagine what I would do in the same situation.
Peter Schneider-Manzell has been busy lately. He's written a bunch of new AppFuse tutorials:
Great stuff Peter - thanks for taking the time to put these together!
In related news, we've started an AppFuse Frappr group - if you're an AppFuse user, make sure and sign up.
David Heinemeier Hansson in MacBook Pro: So fast, oh, so fast:
The MacBook just feels freaking fast.
...
The MacBook Pro simply rocks.
Rob Williams in Eclipse on MacBook Pro:
First off, this machine is very fast. It is like having a G5 laptop. Apple says 4x over the G4. I was kind of skeptical about that. Not anymore.
Mine is due to arrive Friday morning at 10:30. Unlike everyone that compares their new MacBook to their old PowerBook - I'll be comparing mine to my dual core AMD 64 with 3GB of RAM. The MacBook is likely to lose, but it should put things in a more realistic perspective. Especially since I continue to use Windows and OS X an equal amount.
Thursday, 8:30 AM: From Fedex Tracking: 7:50 AM | On FedEx vehicle for delivery | LITTLETON, CO. Sweet! Looks like I'm going to have to ride into work a bit late.
Thursday, 9:30 AM: It's here! I'm heading into work with both machines to build it - so I probably won't have any benchmarks until this afternoon. I forget the initial steps to get the best battery life - anyone got those handy. As Julie said a few minutes ago, "No Wheelies!"