Cafe au Lait Java News and ResourcesI personally never fight JOptionPane any more, for example, because I've written my own wrapper that beats some sense into it. But that doesn't mean JOptionPane is anything above awful. (This is the Python 3K blindness: it's harder for old-timers to appreciate how broken things are because they've got a good feel for where the dangerous swamps are, and ready-made duckboards for the areas they can't avoid. And aren't you supposed to get a bit wet anyway?)
--elliott hughes
Read the rest in elliotth's blog: Swing 2: Pissing in the Wind
Sun has released NetBeans 6.7, its open source IDE for Java. New features in this version include:
Permalink to Today's News | Recent News | Older News | E-mail Elliotte Rusty Harold
You can also see previous recommended reading or subscribe to the recommended reading RSS feed if you like.
To recommend something for inclusion in this section, please e-mail the URL and title of the article.
Version 5.3.0 of PHP has been released. New features include:
- Support for namespaces
- Late static binding
- Lambda Functions and Closures
- Syntax additions: NOWDOC, ternary short cut "?:" and jump label (limited goto), __callStatic()
- Under the hood performance improvements
- Optional garbage collection for cyclic references
- Optional mysqlnd PHP native replacement for libmysql
- Improved Windows support including VC9 and experimental X64 binaries as well as portability to other supported platforms
- More consistent float rounding
- Deprecation notices are now handled via
E_DEPRECATED(part ofE_ALL) instead of theE_STRICTerror level- Several enhancements to enable more flexiblity in php.ini (and ini parsing in general)
- New bundled extensions: ext/phar, ext/intl, ext/fileinfo, ext/sqlite3, ext/enchant
- Over 140 bug fixes and improvements to PHP, in particular to: ext/openssl, ext/spl and ext/date
This release also drops several extensions and unifies the usage of internal APIs. Users should be aware of the following known backwards compatibility breaks:
- Parameter parsing API unification will cause some functions to behave more or less strict when it comes to type juggling
- Removed the following extensions: ext/mhash (see ext/hash), ext/msql, ext/pspell (see ext/enchant), ext/sybase (see ext/sybase_ct)
- Moved the following extensions to PECL: ext/ming, ext/fbsql, ext/ncurses, ext/fdf
- Removed zend.ze1_compatibility_mode
For users upgrading from PHP 5.2 there is a migration guide available here, detailing the changes between those releases and PHP 5.3.0.
For a full list of changes in PHP 5.3.0, see the ChangeLog.
Google has released the Android Native Development Kit 1.5:
As you know, Android applications run in the Dalvik virtual machine. The NDK allows developers to implement parts of these applications using native-code languages such as C and C++. This can provide benefits to certain kinds of applications.
The NDK provides:
- a set of tools and build files used to generate native code libraries from C and C++ sources
- a way to embed the corresponding native libraries into application packages files (.apks) that can be deployed on Android devices
- a set of native system headers and libraries that will be supported in all future releases of the Android platform, starting from Android 1.5 documentation, samples and tutorials
This release of the NDK supports the ARMv5TE machine instruction set and provides stable headers for:
- libc, the standard C library
- libm, the standard math library
- the JNI interface
- libz, the common ZLib compression library
- liblog, used to send logcat messages to the kernel
Keep in mind that using the NDK will not be relevant for all Android applications. As a developer, you will need to balance its benefits against its drawbacks, which are numerous! Your application will be more complicated, have reduced compatibility, have no access to framework APIs, and be harder to debug. That said, some applications that have self-contained, CPU-intensive operations that don't allocate much memory may still benefit from increased performance and the ability to reuse existing code. Some examples are signal processing, intensive physics simulations, and some kinds of data processing.
Honestly, this is 1.0; but I guess they wanted to sync the version number with the OS.
The Eclipse Project has released Eclipse 3.5 Galileo, an open source integrated development environment for Java. (Other languages such as C++ are supported, but not especially well. I'll have to try the new PHP and XSLT support.) New features in 3.5 include (among many others)
toString() generation{@inheritDoc} in the javadoc popups.Older News | Today's XML News on Cafe con Leche | Mokka mit Schlag | The Cafes