Monthly Archive: May 2013

0

How to Install Oracle Java 7 update 21 on Ubuntu 13.04 Linux

Source: http://hendrelouw73.wordpress.com/2013/05/07/how-to-install-oracle-java-7-update-21-on-ubuntu-13-04-linux/ How to Install Oracle Java 7 update 21 on Ubuntu 13.04 Linux by Hendré Abstract This blog entry will guide you through the step-by-step installation of Java on Ubuntu. I selected Oracle Java 7 update 21 and Ubuntu Linux...

0

Slow performance of Ubuntu Guest VM on VirtualBox

Source: http://askubuntu.com/questions/284551/performance-problems-with-13-04-and-virtualbox   Graphic/performance fix for Ubuntu was tested with Ubuntu 13.04, 12.10, and 12.04. Part of this solution applies where aero / transperancy is used including d3d games. RAM requirements Recommended graphic memory or virtual ram for aero based operating...

0

Shrinking VirtualBox VDI Files

Source: http://garethtuckercrm.com/2012/07/25/shrinking-virtualbox-vdi-files/   1. Ran Disk Defragmenter within the VM and defrag’ed the disk.  2. Ran TreeSize Free within the VM to check for large files/folders that I could trim (didn’t find anything, but did notice the winsxs folder was huge, so did some research...

0

How to: Create and Use weak_ptr Instances

Source: http://msdn.microsoft.com/en-us/library/vstudio/hh279672.aspx   Sometimes an object must store a way to access the underlying object of a shared_ptr without causing the reference count to be incremented. Typically, this situation occurs when you have cyclic references betweenshared_ptr instances. The best design is to avoid shared...

0

Smart Pointers (Modern C++)

Source: http://msdn.microsoft.com/en-us/library/vstudio/hh279674.aspx   In modern C++ programming, the Standard Library includes smart pointers, which are used to help ensure that programs are free of memory and resource leaks and are exception-safe. Uses for smart pointers Smart pointers are defined in the std namespace in...

0

Memory layout of C program

A typical memory representation of C program consists of following sections. 1. Text segment2. Initialized data segment3. Uninitialized data segment4. Stack5. Heap A typical memory layout of a running process 1. Text Segment:A text segment , also known as a...