-
... but I'm not using you to edit my JSP and Java source code. I'm switching to JEdit. Not that I'm no longer going to use you— just not for anything remotely related to Java.
-
Too Much Magic. (Guilty as charged. Thanks to Sacha for the link</a>.)
-
Apparently, it isn't that terribly difficult to add users to an MS AD via LDAP; you just have to set the right attributes, and MS AD will do the rest and set sensible defaults for the other attribs.
-
Why I love Java:
- The fact that I don't have to worry about dynamic resource management— GC's the way to go, baby!
- Each topmost class has to be in a separate file— cleaner code, easier to read class file source, and best of all I don't have to declare the interface of my classes in a separate .h header
- Large class library— no need to worry about coding up a home-brew solution to the most common tasks, such as regexps and I/O
- Object-orientation, single rooted inheritance tree, and interfaces— I like the
interfaceconcept. Clean, I'd say. And I can treat everything as an Object safely. AndArraysactually know their length! I can write a generic arrayforloop! - The reflection API. I did a home-brew ORM layer once, and originally using it meant having to declare a method returning an array of Strings representing the database fields of a particular object. I toyed with the idea of using reflection on the base class, tried it out, and was amazed that it actually worked. Wow. Smart objects.
- Hibernate— a tool I recently discovered. Quite amazing... I'd say the above home-brew ORM layer would have eventually evolved into this, what with the reflection stuff I did. (Right... dream on).
- JDBC— clean, easy to use, and dammit, I don't have to worry about DB-specific APIs! Oh, and
PreparedStatements rock, especially in a webapp. - The
Stringclass. I couldn't ask for anything more. No more trying to figure out whether or not achar *fits.
-
The new SM56 kernel modules (version 6.02) are badly broken, and don’t work on custom compiled kernels. They may, in fact, be dependent on the RedHat-patched kernels they were built on. Damn. And not that I’m giving up— I just have too many things to do, so I won’t be able to try objdump(1)-ing it, nor will I be able to attempt any kludges and fixes. (Not any time soon, anyway)
-
Notes to myself, re: take note, use:
- Martin Fowler: Inversion of Control Containers and Dependency Injection Pattern
- The Apache Avalon Project— possibly use in mobile services framework
- Secure Programming for Linux and Unix HOWTO
- News article @ CNN: Java runs the Spirit Mars rover— courtesy of Paolo Apolonio
-
If you happen to be a Linux user, and are using the kludged binary, you might want to check out the vendor-updated driver here. The driver is packaged for RedHat 7.3, 8, and 9.
-
Playing around with the idea of integrating Java into the Kannel gateway somehow, in particular the smsbox component. I’m looking at Kannel’s latest CVS codebase, and it looks… scary. If ever, I’ll be bootstrapping the whole thing via interfacing with the existing components using JNI, then slowly porting code to the Java side. From the looks of things, I’ll most likely be leaving a large chunk still in C, specifically the code that handles talking to the bearerbox.
-
An explanation why dropping ICMP packets via a firewall isn’t all that it’s cut out to be. (It’s a semi-old article, but I’ve only read it today.)
Posts with code snippets in various (programming) languages.