2008.11.26
http://archive.ubuntu.com/ has only the most recent Ubuntu releases. Older versions are available at http://old-releases.ubuntu.com/.
{2008.11.26 07:21}
a tech blog, by Colin Pretorius
http://archive.ubuntu.com/ has only the most recent Ubuntu releases. Older versions are available at http://old-releases.ubuntu.com/.
{2008.11.26 07:21}
There are 3 C++ equivalents to log4j:
I'm using log4cxx, mainly because I read some comments that it's closer to log4j's API and supports log4j-style config files etc. Its connection to Apache is also a plus. I have no idea which is best, though.
{2008.11.21 17:54}
Playing with wxWidgets on Linux. Following suggestions from this page in wxWiki, I added apt.wxwidgets.org to sources.list
. But an apt-get update
was reporting the following error:
W: GPG error: http://apt.wxwidgets.org hardy-wx Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E0BCE7F53B087BC
To fix (per this thread):
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
{2008.08.30 14:24}
The fancy installer isn't available for 1.36.0 yet, so tried compiling boost myself. I was getting errors along the lines of:
compile-c-c++ bin.v2\libs\system\build\msvc-8.0express\debug\link-static\runtime-link-static\error_code.obj error_code.cpp libs\system\src\error_code.cpp(31) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Problem is VS Express 2005 has a separately installed SDK, and you need to set up envvars from both in order for things to work. I created a batch file with
call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" call "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.cmd"
... after which boost seems to be compiling just fine.
Links: Boost 1.36.0 Getting Started and this forum discussion.
{2008.08.19 16:18}
.bash_profile
vs .bashrc
.
Somewhat related, invoking sudo update-alternatives --config java
will allow you to take care of various JDKs in Ubuntu (all of which are in /usr/lib/jvm
if you install using apt). This doesn't set JAVA_HOME, though. The best way to do that (eg. discussion here) is to have JAVA_HOME=/usr/lib/jvm/java-6-sun
or the like appended to /etc/environment
.
{2008.08.10 03:17}
Setter injection versus constructor injection and the use of @Required. I'm glad the Spring folks are in favour of constructor injection for mandatory dependencies - I far, far prefer it to setter injection.
{2008.07.11 22:35}
{2008.06.22 12:43}
{2008.05.14 07:36}