Things I wish I'd Known Earlier

But learned the hard way!

CategoryBetter Software Design

CMake – a short history

Written by Tim on April 8, 2019

In the Beginning, if you wanted to create an executable application in C, you’d run a program that translated C code to assembly language, run an assembler on the translated code, then run a linker to bundle it all up into an executable file. And it was Good. But it ( more… )

Posted In Better Software Design | Stupid Linux Tricks
Tagged CMake | compiling | linux

Gnome Evolution is an Abomination and gnome-keyring should die in a fire!

Written by Tim on August 7, 2014

Really. Between Evolution’s penchant for creating non-deletable – and defective – account associations and gnome-keyring’s useless pop-up dialogs, the whole thing almost makes Microsoft Windows seem attractive. Then again, gnome is, by and large, a slavish attempt to imitate many of Windows’ more obnoxious features. Like the Windows Registry. Honestly. ( more… )

Posted In Bad Practices | Better Software Design | Random maniacal ravings
Tagged Evolution | gnome-keyring | rant

JPA and overlapping complex keys

Written by Tim on June 29, 2011

If at all possible, you should avoid setting up databases with complex keys (or compound keys, as they are sometimes known). It makes life a whole lot more complex, and in a world where everyone already says you’re taking too long because “All You Have To Do Is…”, complex isn’t ( more… )

Posted In Better Software Design | Enterprise Java | Java Persistence Architecture (JPA) and related ORM
Tagged complex keys | compound keys

org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.mypackage.MyEntity.entityId

Written by Tim on February 8, 2009

There are reports that messages of this sort were due to bugs in one or more Hibernate releases. But this is also a legitimate error. I wasted a lot of time before it hit me. The original code was: @SuppressWarnings(“unchecked”) public List<State> getStatesForCountry(String countryID) { final String SQLCOMMAND = “SELECT ( more… )

Posted In Better Software Design | Enterprise Java | Java Persistence Architecture (JPA) and related ORM
Tagged annoyances jpa hibernate

Writing files into a WAR – Another BAD IDEA

Written by Tim on February 3, 2009

I’ve always recommended against this. For one thing, a WAR is a ZIP file and Java has no builtin support for updating ZIP files. A lot of people abuse the fact that many JEE servers unpack (explode) WARs into a directory such as Tomcat’s webapps directory. They then proceed to ( more… )

Posted In Bad Practices | Better Software Design | Enterprise Java
Tagged amateurgrammers

Why Do-it-Yourself Java Security is a BAD THING

Written by Tim on November 10, 2008

One of my greatest peeves in working with Java in the Enterprise is the fact that everyone+dog seems to think they can do a better job on application security than the Java architects. OK, so there’s some really awful stuff that’s part of the Java standards, but nevertheless, rolling your ( more… )

Posted In Better Software Design | Enterprise Java | Random maniacal ravings
Tagged design | security

Why Software Projects Should Not Depend on an IDE

Written by Tim on November 10, 2008

disclaimer: I’m about to show my age. My first “IDE” was an IBM 029 keypunch machine. I keyed programs in FORTRAN, COBOL, Assembler and PL/1. When I messed up, I threw away the defective cards and punched new ones. After waiting in line for a free keypunch machine. Over the ( more… )

Posted In Better Software Design | Enterprise Java | Random maniacal ravings
Tagged IDE

Categories

  • Android
  • Bad Practices
  • Better Software Design
  • Enterprise Java
  • Hardware
  • Internet of Things
  • Java Persistence Architecture (JPA) and related ORM
  • Libre Office
  • MillRight CNC
  • Random maniacal ravings
  • Stupid Linux Tricks
  • The Cloud
  • Uncategorized
May 2022
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Jun    

Categories

  • Android
  • Bad Practices
  • Better Software Design
  • Enterprise Java
  • Hardware
  • Internet of Things
  • Java Persistence Architecture (JPA) and related ORM
  • Libre Office
  • MillRight CNC
  • Random maniacal ravings
  • Stupid Linux Tricks
  • The Cloud
  • Uncategorized

Tags

Android annoyances jpa hibernate Apache Arduino attach ATTiny85 centos centos 7 configuration date/time design detach DigiSpark documents Enterprise Java Facelets floating-point fonts graphviz hibernate howto IDE Imprecise data types JBoss JPA JSF linux Maven oowriter openjpa ORM recipe RichFaces scalable graphics security spring testing Tomahawk Tomcat tomcat5 tomcat6 Tomcat Instrumentation vector graphics weaver Xen

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2022. Things I wish I'd Known Earlier
Powered By WordPress and Auspicious