Nieuws/blog
Alle nieuws/blogs met tag: Artikel
Java implicit widening and narrowing conversions before autoboxing
Geplaatst door Daniel B. Roy op 2 December 2009
Just for fun, and to add several extra capitals to the end of my name, I decided to take the Sun Certified Java Programmer exam recently. I used this book to prepare which gets a BIG thumbs up. If you already know how to program and want a book that covers all topics, but can also double as a general reference work, this is your best choice. Being used to the extremely low standard of most MSPress exam prep books, this was a refreshingly intelligent and complete book, with some very challenging questions. Having studied the book, the exam was a breeze.
Backup retention script
Geplaatst door Roy de Boer op 5 October 2009
Rsync (in combination with hardlinked snapshots) is a very nice way to backup linux servers. I’m not going to explain how to script things, there are already enough sites doing this, see for example this site. Because corruption and accidental file removes can occur at any time, also 1 second before the file is written to the backup, it is important to keep more than one backup. Furthermore, it can take a while before corruption is noticed: days, weeks or even months.
Encoding Issues
Geplaatst door Scato Eggen op 15 January 2008
Wie kent het niet: je zit uren te zwoegen op een project en dan komt er zo’n gebruiker die zonodig een é in zijn naam moet hebben. “Hé, wat is dit?” (Of: “ik heet helemaal geen Ren?e!”)
Postfix, virtual_alias and vacation
Geplaatst door Roy de Boer op 3 February 2006
When using local(8) delivery in postfix, sending automatic vacation messages is easy; just run 'vacation'.
How does it work? Incomming mail will be delivered by the local(8) mail delivery program. It reads the file .forward in the users maildirectory. If the .forward file contains a pipe (|) the mail is processed by a program, in this case /usr/bin/vacation. So when .forwards contains
\john, "| /usr/local/bin/vacation username"
Doom 3 - OpenGL Shading Language
Geplaatst door Reinder Nijhoff op 25 August 2005
After spending most of my free time last year writing a raytracer, I've finally finished another OpenGL demo.
This demo loads a Doom-3 level (using the .proc format) and renders the level using portal-based visibility culling. I use the OpenGL Shading Language (GLSL) to render the levels using the light-data loaded from the .map files.
How-To: MySQL as a linked server in MS SQL Server
Geplaatst door Daniel B. Roy op 12 May 2005
This document describes how to link a Microsoft SQL Server and a MySQL server by using the 'linked server' feature in SQL Server. After linking, tables on both servers can be referenced in one SQL query or stored procedure, with the MySQL database behaving as if it was a local SQL Server database.
This technique can be useful for synchronizing MySQL-driven web pages with data held locally in a Microsoft SQL Server. The document contains an example which uses triggers to automatically propagate any changes to the content of a SQL Server table to a linked MySQL table.



