Archive

Posts Tagged ‘Programming’

Memory Management: Smart Pointers

December 23, 2009 Leave a comment

One of the most important things to deal with when programming is resource management. When using a language like C++ memory is one of those precious resources that are not handled for you. Whenever you deal with the heap it’s important to keep track of everything you do to prevent memory leaks and other fun bugs that can creep up on you. So what are some ways to keep ensure your program doesn’t go eating up all your important memory?

Read more…

Remuxing mkv for the Xbox 360…

January 12, 2009 29 comments

So you downloaded an HD .mkv video file. So you wanna watch your nice video on your Xbox 360 but you don’t want to use Windows? Well look no further, you can do this quickly and easily. No need to re-encode the video and wait for an hour or longer, extract and remux the streams to an mp4 and stream it across your home network with a UPnP program like fuppes or ushare. I have created a script based on the DIY steps found at LinuxLove.info. I have Ubuntu, so this guide will describe how to install the needed programs using Ubuntu’s apt-get package manager. So sit back, sip your coffee and learn.

Read more…

The usefulness of adopt…

January 8, 2009 1 comment

I’m a web development programmer for a small company (the actual creation of sites consists of my boss + me, and he uses FrontPage…ugh) and about 2 years back I created a reservation system for fishing boats. This system has a nice administrative interface, dynamic calendar creation, integration with PayPal and, since it was done in about 5 weeks, doesn’t really look pretty. So I recently started working on version 2.0 of this thing. Well while doing some improvements to the form for creating a schedule I looked into using Mootools javascript framework, I’ve used it in the past to great success. Now, when creating a piece of a dynamic form where clicking a button adds a group of new fields, things can get a little tricky. Then I found the ‘adopt’ function. Read more…