r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

A conversation between two artificial inteligences

r3dux | August 31, 2011
YouTube Preview Image

Snarky bastards, aren’t they?

Comments
No Comments »
Categories
Humour, Tech
Tags
AI, CleverBot, Conversation, Skynet
Comments rss Comments rss
Trackback Trackback

The Apples in Stereo – 7 Stars

r3dux | August 30, 2011

I’ve been watching a TV series of concerts held in a church called Beautiful Noise and it’s really rather good.

The Apples in Stereo - New Magnetic Wonder album cover

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

I watched The Apples in Stereo Beautiful Noise episode earlier – and this track off their 2007 album New Magnetic Wonder made me smile.

Comments
No Comments »
Categories
Music
Tags
Apples in Stereo, Beautiful Noise, New Magnetic Wonder, Star 7
Comments rss Comments rss
Trackback Trackback

How to: Build GLEW on Debian

r3dux | August 29, 2011

GLEW - The GL Extension WranglerI’ve just jumped ship from Ubuntu to Linux Mint Debian Edition (20011-08 RC1, 64-bit Gnome version) because as much as I tried, I just couldn’t get along with Xfce and Thunar, and I’ve had it up to my eyeballs with the Ubuntu desktop experience *@&%ers making decisions for me.

So now I need to be able to build the latest version of a few packages. Again. In this case, it’s GLEW 1.7.0 – but thankfully this one’s pretty do-able:

1.) Install some GLEW build pre-req’s with:

sudo apt-get install libxmu-headers libxmu-dev libxi-dev

2.) Get the GLEW source and extract it.

3.) If you want to install in /usr/local/ instead of /usr/ (which is generally a good idea for packages you’ve built yourself so you can easily distinguish them from “system packages”) then edit the Makefile in your extracted glew folder and make the following change:

GLEW_DEST ?= /usr

Should be modified to read:

GLEW_DEST ?= /usr/local

4.) On Debian it appears that /usr/local/lib64 doesn’t already exist as a symlink to /usr/local/lib (which means that you could end up with some of your stuff in the local/lib folder and some in the local/lib64 folder – which would be rubbish), so create the symlink yourself first with:

sudo ln -s /usr/local/lib /usr/local/lib64

5.) Run make then sudo make install

6.) Finally, once you have your GLEW stuff installed, don’t forget to link in libGL.so to your OpenGL projects, which if you’re making the switch from Ubuntu to Debian like I am, have now moved from /usr/lib/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so, at least on my 64-bit setup.

Fun, eh? Sheesh!

Comments
2 Comments »
Categories
Linux
Tags
build, Debian, GLEW, LMDE, Make, OpenGL
Comments rss Comments rss
Trackback Trackback

Why Gabe Newell invented Steam

r3dux | August 24, 2011

Only joshing, Gabe – love ya really! But while we’re on the topic, could you Valve guys please get your arses in gear and make a frickn Linux client!

Comments
1 Comment »
Categories
Gaming, Humour, Imagery
Tags
Client, Gabe Newell, Steam, Valve
Comments rss Comments rss
Trackback Trackback

How to: Get detailed browser memory usage from within Firefox or Chrome

r3dux | August 23, 2011

Well, you could use the top command, or maybe some ps grepping like this:

$ ps -ely | grep -E 'firefox|chromium|plugin'
S  1000  5214  5576  2  80   0 77916 232548 futex_ ?       00:01:00 chromium-browse
S  1000  5572  1984  1  80   0 85916 184994 poll_s ?       00:03:27 chromium-browse
S  1000  5574  5572  0  80   0 19276 60531 poll_s ?        00:00:02 chromium-browse
S  1000  5576     1  0  80   0 22476 67221 wait_f ?        00:00:00 chromium-browse
S  1000 31011  1984  3  80   0 415124 284530 poll_s ?      00:05:14 firefox-bin
R  1000 31211 31011 58  80   0 618876 349396 -    ?        01:31:23 plugin-containe
S  1000 32178  5572 13  80   0 62780 171077 poll_s ?       00:08:28 chromium-browse

But that’s not especially friendly to read, so how about simply going to the internal memory usage page at about:memory? (Note: Just put about:memory into the URL location and hit enter – I can’t link to it because it goes to about:blank instead!)

Firefox Memory Usage - Internal Display

Presumably this is a cross-platform method, so available on any modern version of Firefox or Chrome. The details in the above screengrab were taken on Firefox 6 on Linux with two windows containing 8 tabs in total open, and it’s chewing on 316MB of RAM? Ouch. When my wife plays Facebook games I’ve seen Firefox eating over 700MB for a single window with a single tab running FarmTown or Treasure Madness or such, but I guess that’s more down to the bloat of those flash games than the browser… Still, good technique.

Credit where it’s due: Tip found on linuxers.org – good find!

Comments
1 Comment »
Categories
How-To
Tags
Bloat, Browser, Firefox, grep, Memory, ps, RAM, Usage
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Translate

Categories

Archives

Tags

3D ActionScript ActionScript 3.0 Adobe AI Ballarat Bash C++ Class Convert CS4 Effect Error Film Flash GLSL Gnome Hack How-To install Jaunty Java Kinect Linkage Linux Mash-Up Microsoft Motion OpenGL Particle Problem PS3 Remix Retro script Slides Sound Systems Texture Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

OpenR3dux

Misc.

Flattr this

RSS Feed

r3dux twitter feed



“Kindness is more important than wisdom, and the recognition of this is the beginning of wisdom.”

 - Theodore Isaac Rubin

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox