homebrew

Programming on a Nintendo DS

I was reading this answer previously and it got me interested in purchasing a Nintendo DS Lite for learning to program embedded devices. Before I go out and splurge on a DS I had a few questions: Are there any restrictions on what you can program? The post I indicated earlier seemed to say there weren't, but clarification would be nic...

Nintendo DS homebrew with Ada?

Note: I know very little about the GCC toolchain, so this question may not make much sense. Since GCC includes an Ada front end, and it can emit ARM, and devKitPro is based on GCC, is it possible to use Ada instead of C/C++ for writing code on the DS? Edit: It seems that the target that devKitARM uses is arm-eabi. ...

Tutorials for Wii programming

I have a Nintendo Wii, and I've got devkitpro working to load some simple programs. The example source code that I've been able to find is very simplistic, such as drawing and rotating a simple shape. I've been looking for more in depth tutorials, and I haven't been able to find much. Most of the applications available on wiibrew ar...

Converting a home-brew test application to a standard unit test framework

I've got a LOT of tests written for a piece of software (which is a GREAT thing) but it was built essentially as a standalone test in C#. While this works well enough, it suffers from a few shortcomings, not the least of which is that it isn't using a standard testing framework and ends up requiring the person running the test to commen...

What techniques can you use to profile your code...

Some of the platforms that I develop on, don't have profiling tools. I am looking for suggestions/techniques that you have personally used to help you identify hotspots, without the use of a profiler. The target language is C++. I am interested in what you have personally used. ...

How would I go about making a Flight Gear port for WiiBrew?

How would I go about making a Flight Gear port for WiiBrew? Or, better yet, how would I convince someone else to? ...

Combining 3D and framebuffer mode on the DS

The documentation implies that you can either have 3D rendering or framebuffer mode, and each only to the active display. Is there any way to render 3D to one screen and framebuffer to the other? ...

Nintendo DS and Neural Networks

Hello, i was wondering if DS`s hardware is capable of running a game that utilizes a feedforward neural network using genetic algorithms. I know that this has to do with the implementation of the homebrew game as well as the nn and the ga, but i am curious... (i know nothing about how the DS`s ARMs are used, etc, etc, etc) Thanks in ad...

How can I test my homebrew Nintendo Entertainment System software on real hardware?

A few years ago, I implemented an NES game as a class project, written in 6502 assembly. I only ever ran it on an NES emulator, but I would like to see it run on the real hardware. Is there any development board to do this? I understand it is somewhat tricky, with mapper chips and such, but I am willing to limit to just a common mapper (...

gluProject on NDS?

I've been struggling with this for a good while now. I'm trying to determine the screen coordinates of the vertexes in a model on the screen of my NDS using devKitPro. The library seems to implement some functionality of OpenGL, but in particular, the gluProject function is missing, which would (I assume) allow me to do just exactly that...

RMagick freezes ruby processes when required on OS X Snow Leopard

I've got quite a strange problem. I've installed ImageMagick via homebrew. I've installed rmagick-2.12.2 and rmagick-2.11.2 with no issues. I get no errors on installation of either. ImageMagick seems to be installed and in my path: $ convert --version Version: ImageMagick 6.5.6-5 2010-01-30 Q16 OpenMP http://www.imagemagick.org Cop...

Trying to install ruby-filemagic on Snow Leopard using brew rather than ports

Hi, I'm trying to install ruby-filemagic. I tried sudo gem install ruby-filemagic -v 0.2.2 and got: ERROR: Error installing ruby-filemagic: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for magic_open() in -lmagic... no *** extconf.rb failed *** C...

How many packages available for Homebrew and Macports?

How could I know how many packages are available for Homebrew and Macports? ...

How to write homebrew formula that keep their files in the Cellar?

I'm trying to write a formula for the Icon programming language (necessary for noweb), but its binary distribution contains TONS of files (almost 1000) in the lib/ directory. I'd like to leave them out of the symlink-to-/usr/local/lib process since I only need the dependency when building noweb. Is there a way I can specify that an inst...

Install hpricot on Mac OS X with rvm and brew

Having problems installing hpricot on Mac OS X. I suspect it might be an issue between rvm and brew? rvm 1.0.5 brew 0.7 Thoughts? Suggestions? Thanks! $ gem install hpricot Building native extensions. This could take a while... ERROR: Error installing hpricot: ERROR: Failed to build gem native extension. /Users/dhaskin/.rvm/...

How to modify a homebrew formula?

I installed imagemagick via homebrew. However, due to a bug I have with my current configuration, I need to adjust the compile flags for the formula and reinstall it. How can I accomplish this? Note: I'm a complete homebrew noob, so please offer a detailed explanation. ...

Homebrew install specific version of formula ?

How to install a specific version of a formula, let's say, postgresql-8.4.4 instead of the latest 9.0 thanks ...

Why Do All My Open MPI Processes Have Rank 0?

I'm writing a parallel program using Open MPI. I'm running Snow Leopard 10.6.4, and I installed Open MPI through the homebrew package manager. When I run my program using mpirun -np 8 ./test, every process reports that it has rank 0, and believes the total number of processes to be 1, and 8 lines of process rank: 0, total processes: 1 g...

Algorithm to calculate the number fortnightly occurring events in a given calendar month.

I'm looking for the cleverest algorithm for determining the number of fortnightly occurring events in a given calendar month, within a specific series. i.e. Given the series is 'Every 2nd Thursday from 7 October 2010' the "events" are falling on (7 Oct 2010, 21 Oct, 4 Nov, 18 Nov, 2 Dec, 16 Dec, 30 Dec, ...) So what I am after is a fun...