Tech Lull
 
 
JavaPHPSQLDrupalOpenGLMathematicsRenderings
 
 

Tech Blog Item - Comparing DirectX11 and OpenGL 3.2
December 04, 2009

I have been away from developments in the graphics community for sometime. As such, I needed to research what the present differences between DirectX and OpenGL are, so that I could make an informed decision on which to use in the immediate future. My background is in OpenGL, so if I found it was comparable to DirectX, I will stick with it.

DirectX (Direct3D)

  • license: proprietary
  • current version: 11
  • portability: Windows Vista or Windows 7
  • ...

view
Tech Blog Item - netbeans is now my preferred IDE
December 04, 2009

A while back, I wrote about evaluating netbeans as an alternative to zend studio, which I had used for years. I have now made the switch, as there are some clear advantages.

Netbeans is completely free. It is a common user interface when I want to do programming in a different language like C++. This is great so that I do not have to remember two sets of shortcut keys and menu setups, etc. Netbeans uses my local subversion implementation and works very well. Issues with memory usage and '...

view
 
Tech Blog Item - value of wikipedia
December 03, 2009

today i got a wikipedia account and made my first contribution, finally.for those who live in caves, wikipedia is an expansive set of knowledge, contributed and edited by anyone, available for free on the internet. although, not always of the highest quality, it is undeniable now how gigantic the dataset of wikipedia is size of wikipedia

...view
Tech Blog Item - CSS Hex Color Values
November 27, 2009

#web_colors_table td{ height: 40px; }

Here is a list of colors I have found on the web, but formatted to be easier to read.

Description HEX Code Sample Description HEX Code Sample Description HEX Code Sample
Alice blue #F0F8FF Antique white #FAEBD7 Aqua...
view
 
PHP Tip - using error_reporting to help you
November 23, 2009

In PHP 5, the default level is E_ALL & ~E_NOTICE. While it is nice to hide the 'Notice' messages, it is better to set the error reporting level to just E_ALL. Notice messages usually tell you best practice things like if a variable has not been initiated. If messages are hard to get rid of, this can indicate underlying issues with program logic. For example:

$GLOBALS["foo"]["path"]["relative"]["bar"]["images"] = 'something'; ... Notice: Undefined index: foo...view
Drupal Tip - setting up a video library: part 2
November 23, 2009

1) setup and test ffmpeg
you'll need to experiment and play around with the parameters. for me, this works fine, using the builtin codecs

ffmpeg -i input_video.wmv -ar 44100 -s 320x240 -f flv output_video.flv ffmpeg -i input_video.wmv -ss 00:00:30 output_thumb.jpg since I am not using a drupal module like flashvideo as a wrapper for batch conversions, I am using the following script in a import directory: --...view