Category Archives: Technology

CUDA

From the NVIDIA CUDA Development quick start guide:

CUDA-enabled GPUs have hundreds of cores that can collectively run thousands of computing threads. Each core has shared resources, including registers and memory. The on-chip shared memory allows parallel tasks running on these cores to share data without sending it over the system memory bus.

Real-time simulations of hundreds of entities immediately come to mind, sounds interesting for my next project in adm.

Check out the guide here,  along with programming and SDK reference:
http://www.nvidia.com/object/cuda_develop.html

Service Capture is your friend

Well, at least when you’re using flash + amf. Last week I was getting the dreaded NetConnection.Call.BadVersion error every other day. Debugging blindly, I had no way of knowing whether I was moving towards or away from the solution. On the verge of giving up until I gave Service Capture a try. The handy tool sets up itself as the proxy to your browser and monitors all kinds of traffic, SOAP, XML, Text, JSON, Flash Traces, you name it. For my case, I used it primarily to decode the AMF responses from my zend_Amf gateway. It decodes the binary responses and place it along the request and response headers in a familiar object tree view, making inspection a breeze.

And I also realized what was causing the errors: the flash player was trying to decode a redirection to facebook’s login page as Amf. Doh.

The speed, size and dependability of programming languages

Guillaume Marceau has made an interesting attempt at visualizing 33 programming languages in terms of code terseness and speed.

The Computer Language Benchmarks Game is a collection of 429 programs, consisting of 13 benchmark reimplemented across 33 programming languages. It is a fantastic resource if you are trying to compare programming languages quantitatively.

http://gmarceau.qc.ca/blog/2009/05/speed-size-and-dependability-of.html

Real-time 3D in Flash

Came across this 2 sites by Carlos Ulloa showcasing real time 3D in flash:

http://www.helloenjoy.com/ greets the viewer with an interesting transition from plain 2D words into a few 3D reflective text blocks floating in a white environment. After panning around them for awhile, the viewer soon notices that the cursor changes when hovering on each letter, and discovers in delight that those are not just floating 3D objects looking pretty, they actually demonstrate an interactive physics engine. Try them out yourself.

http://www.carlosulloa.com/ looks normal, until you decide to give the controls a try. Go ahead and be surprised.

Processing

Came across Processing today, excerpt from site below:

Processing is an open source programming language and environment for people who want to program images, animation, and interactions. It is used by students, artists, designers, researchers, and hobbyists for learning, prototyping, and production. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook and professional production tool.

Sounds interesting, can’t wait to give it a try this weekend.