Norton GoBack…To the Stone Age

My boss came to me yesterday with her notebook and said “My notebook has been really slow for the last week or so. Can you please fix it?”

Of course I can! I started by turning on her notebook and noticed that it started up very slowly. Then, after logging in, I noticed that there was constant hard drive activity, even when the notebook was left idle for 30 minutes.

I ran msconfig and noticed that there were several stupid and unnecessary “services” configured to startup automatically at boot time. For example: Continue reading » Norton GoBack…To the Stone Age

Network Statistics in Linux

  • To display statistics for each networking protocol, on systems using a full shell: netstat -s
  • To display statistics for each networking protocol, on systems using the stripped down “Busybox” shell (e.g. OpenWrt): more /proc/net/snmp

Windows Automatic Updates – Stop Nagging Me, Biatch!

Don’t you hate it when you install a security patch with Windows Automatic Updates and afterward Windows keeps nagging you to restart? Here’s what the nag dialog box says:

Updating your computer is almost complete. You must restart your computer for the updates to take effect. Do you want to restart your computer now?

Continue reading » Windows Automatic Updates – Stop Nagging Me, Biatch!

How to Inject Dependencies Into Domain Objects When Using the Spring Framework 1.x and Hibernate

Yesterday I read an interesting post on Chris Richardson’s blog about how to inject dependencies into domain objects when using the Spring Framework and Hibernate. This is a great feature because it allows you the option to create richer domain models and avoid the anemic domain model anti-pattern, which was coined by Martin Fowler and discussed at great lengths in Eric Evans’ book Domain Driven Design.

Unfortunately, this AspectJ-based solution discussed by Chris Richardson will not be officially supported until Spring Framework 2 is released (which should be soon). There are some other solutions (e.g. DependencyInjectionInterceptorFactoryBean, ServiceLocator lookups, passing dependencies as as parameters to service methods, etc) but, as Chris points out, these all have some undesirable drawbacks. Continue reading » How to Inject Dependencies Into Domain Objects When Using the Spring Framework 1.x and Hibernate

Page 14 of 17« First...10«1213141516»...Last »