Archive for September, 2009

Project Offset’s Meteor – Using Larrabee

Project Offset was aquired by Intel and it has been speculated that the latest video from them is based off Larrabee! More from Project Offset after the break

Posted on September 29, 2009 at 11:16 pm by Jordan Carter · Permalink · Leave a comment
In: Gaming · Tagged with: ,

Larrabee Demo

Here is an extended view of Intel’s Larrabee demo of it’s ray traced version of Enemy Territory: QUAKE Wars.  This is my first sight of the new graphics architecture from Intel.  They have been working on this for a few years now and apparently this demo has been shown before at last years IDF Larrabe […]

Posted on September 29, 2009 at 10:42 pm by Jordan Carter · Permalink · Leave a comment
In: Gaming · Tagged with: ,

DirectX 11 – DX11 – Nvidia and ATI

Here is a collection of media from the internet that gives an idea to the upcoming generation of computer graphics.

Posted on September 26, 2009 at 7:35 pm by Jordan Carter · Permalink · Leave a comment
In: Gaming · Tagged with: ,

PG_Dump PG_Restore

Dump a remote postgres database and restore it into a local postgres database.  This method dumps first into a local file, then restores into the database.  The reason for doing it this way over piping the data straight into the database locally is that if there is an error in the import you don’t have […]

Posted on September 25, 2009 at 10:21 am by Jordan Carter · Permalink · Leave a comment
In: Server Config, Web Development · Tagged with: , , , , ,

Attachment_fu file upload from local files

If you need to batch import files into attachment_fu from a local source then you can doing the following l = Logo.new(:uploaded_data => ActionController::TestUploadedFile.new(“/home/jordan/Documents/test_project/1.jpg”, “image/jpeg”)) You can encapsulate that in a loop and iterate over a list of files if need be (would be assumed for batch import eh.)  Enjoy!

Posted on September 24, 2009 at 8:34 pm by Jordan Carter · Permalink · One Comment
In: Uncategorized · Tagged with: , ,

glTail – Visual Log Analyzer

glTail is another visual log viewer.  It can in real time (like logstalgia) show you traffic to your site.  glTail does a lot more analytical work before showing you the motion. glTail will show you and track things like Requests per minute from ips HTTP response codes per minute (how many 404’s) How many hits […]

Posted on September 24, 2009 at 12:45 pm by Jordan Carter · Permalink · Leave a comment
In: Web Development · Tagged with: , ,

Rails Filters Order

Rails has some nice filters for DRYing up repeated actions like creating a activation_code on signup, or an unsubscribe_code, reset code. before_validation_on_update before_validation_on_create validate validate_on_update validate_on_create after_validation after_validation_on_update after_validation_on_create before_save before_update before_create after_update after_create after_save There are many different times when you will want to use these and knowing the order will help a lot […]

Posted on September 24, 2009 at 12:23 pm by Jordan Carter · Permalink · Leave a comment
In: Uncategorized · Tagged with: , ,

Logstalgia from Remote server

Remote graphical apache log monitoring via Logstalgia is a simple little graphical way to watch traffic on your website. Install via sudo apt-get install logstalgia Run via ssh [email protected] “tail -f /var/logs/apache/access_log” | logstalgia –

Posted on September 23, 2009 at 12:55 pm by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks, Web Development · Tagged with: , ,