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.

Problems integrating CVS Spam and CVS NT

I've been trying to post the following question to the CVS Spam mailing list for the past couple of days with no luck (I keep getting undeliverable receipts). I figure posting it here might get me some answers or alternatives to CVS Spam on NT.

At my new gig I'm trying to setup CVS Spam on a Windows 2000 Server machine with CVS NT. I know, it'd be much easier to do on Linux, but it's an NT shop, so I'm trying to workaround the environment as best I can. I tried using the Ruby Installer from SF, but had no luck.

After reading the Archives, I saw that the best way was to install Cygwin and use cygwin/bin/ruby.exe. I tried this and now I'm getting the following error:

Checking in README.txt;
c:/source/apptracker/README.txt,v  <--  README.txt
new revision: 1.9; previous revision: 1.8
done
C:/Source/CVSROOT/COLLEC~1.RB:100:in `process_log': missing data dir
(/tmp/#cvsspam.2632.18-XXXXXX) (RuntimeError)
	from C:/Source/CVSROOT/COLLEC~1.RB:215:in `choose_operation'
	from C:/Source/CVSROOT/COLLEC~1.RB:314

In CVSROOT/commitinfo, I have:

^apptracker c:/Source/CVSROOT/record_lastdir.rb

In CVSROOT/loginfo, I have:

^apptracker c:/Source/CVSROOT/collect_diffs.rb --to [email protected] %{sVv}

I also checked in cvsspam.conf to CVSROOT and uncommented smtp.host to be localhost (required for NT).

If anyone has setup CVS Spam with CVS NT successfully (on a Windows 2000 server), please let me know. I'd like to use CVS NT over Cygwin's CVS because I think it'll be easier to maintain after I leave. I'm also interested to know if anyone has successfully used other "cvs e-mail" packages with CVS NT.

Update: I finally got through on the mailing list and received a solution from Angus Mezick. To make it easier for everyone, I've made this patched version of CVS Spam for CVS NT available for download. Just a note, these have only been tested with Cygwin's Ruby install. I hope to test these out next week when I get back from Missouri.

Posted in Java at Nov 07 2003, 11:32:04 PM MST 4 Comments

What's the best way to setup networked printing?

I made the switch to my new XP box last night - swapping hard drives, CD Burners, etc. from the old to the new. In the process of putting 1.5 GB of RAM into my Linux box, I thought I'd upgrade Samba to 3.0 and setup a shared printer. Samba upgrade - piece of cake. Installing a printer on RedHat - no luck. I've tried it before, but I've never succeeded. I have a HP OfficeJet G85 that is a great printer. My main goal is to setup this printer as a shared printer on Linux or XP and I'll be able to print to it via OS X, Windows XP and RedHat 9. However, I can never get it installed on RedHat - even though I select the right printer (using printconf-gui). It does recognize it as a USB device, but it can't print to it. On Windows XP, the printer installs (and works) just fine, but I can't print to it from OS X or RedHat - it just doesn't work. Here's what happens on both:

  • OS X 10.3: I select Windows Printing and I can navigate to my XP Box, but I can't connect. When I try to view the printers, it hangs for a couple of minutes - then I'm prompted for a login and my XP login doesn't work. This same login/password works just fine for connecting to shared drives. I think it's a bug in Panther.
  • RedHat 9: I select Queue Type: Networked Windows (SMB) and my Windows box does not show up in the list (just the RedHat box and my PowerBook). If I try to manually enter my server, printer, etc. it just flashes and prompts me again.

I do have a wireless print server that I could probably use, but that's hooked up to our Canon 900 Photo Printer - which only seems to work well if it's plugged into the wireless print server. We've tried to plug it directly into a Windows box and print, and the quality just isn't as good - who knows why. I bought a USB hub for it in hopes of hooking up multiple printers, but that doesn't work either.

I wish I could just give my HP an IP address - then it would probably work for all of them, but alas, all it has is USB.

The fun part of all this switching hard drives? I thought I lost a 20 GB drive of important data this morning - I was up until 2 a.m. last night trying to fix it. Luckily, I got some assistance from Experts-Exchange this morning and didn't lose a thing.

Update: I got this all working using HPOJ and CUPS. I did have to uninstall LPRng and cups from Red Hat 9 - then re-install CUPS from source. I also had to install Ghostscript and all its fonts. Finally, to get it to share the printer via Samba, I had to tweak some Samba config files.

Posted in General at Nov 07 2003, 05:14:34 PM MST 4 Comments