I’ve always wished I could find an elegant way to separate template implementation code. Here’s my latest strategy… (continued…)
I was hoping to start using Visual Studio 2005 as my primary Windows compiler, but this warning from the boost home page was holding me back:
Note: Boost does not support the non-standard “Safe” C++ Library shipping with Visual C++ 8.0, which may result in many spurious warnings from Boost headers and other standards-conforming C++ code. To suppress these warnings, define the macro
_SCL_SECURE_NO_DEPRECATE
.
I can’t believe SQL*Plus has survived for 5 minutes, let alone decades. And for some other equally unanswerable reason, free replacements are hard to come by. Toad is the most popular, but it’s this so-called “freeware” that expires every month.
Anyway, I think I’ve found an open-source tool with a past, and hopefully a future. Eclipse has a plugin called SQLExplorer that uses JDBC to connect to Oracle databases.
UPDATE: This seems to be still alive, I updated it today to version 3.5.0RC2. I had to download the plugin from sourceforge, extract to the Eclipse 3.3 directory, then re-set up the Oracle drivers, as detailed below…
(continued…)
The other day my coworker Gamini asked me if there were a C++ exception handling mechanism to “continue” from where the exception was thrown. I thought I remembered some obsure keyword… wrong, C++ exception handling follows a “termination model”, the stack is unwound as you go, the damage is done before you hit the exception handler, and there’s no going back. In this case, there are some other languages (Smalltalk, Lisp) that do a better job than C++, by providing a “resumption model” of exception handling. When an exception is thrown, these languages walk back up the stack without destroying it, or preserve it in some other way, so that a “resume” is possible if the exception is “tolerable” (after you log the condition or take some other moderate action). Wikipedia has a good discussion. And of course boost peoples have an even livelier one, as expected. :>
wzzip -u -r -p -ybc -whs -bC:\ %backupdir%\%projname%.zip -i@%backupdir%\Files.txt
New 7zip backup command:
7z a -r -y -tzip %backupdir%\%projname%.zip @%backupdir%\Files.txt
Simple!