online community programming, visual design, technology in education

Projects

Inside

Links




DaveB's rule of OpenACS Programming

"Any sufficiently complicated OpenACS package contains an ad-hoc, informally-specified bug-ridden slow implementation of half of the Content Repository."

XML Syndicate this site

Bookshelf

In the queue

Decoding the Universe: How the New Science of Information Is Explaining Everything in the Cosmos, from Our Brains to Black Holes
Defensive Design for the Web: How to improve error messages, help, forms, and other crisis points (Voices That Matter): Books
Iterating Infusion:Clearer Views of Objects, Classes, and Systems: Books: Greg Anthony
Ambient Findability, What We Find Changes Who We Become: Books: Peter Morville
How the Mind Works
Principles of Data Mining (Adaptive Computation and Machine Learning)

In hand/reading

Godel, Escher, Bach: An Eternal Golden Braid
The Island at the Center of the World
Beautiful Code
The Pattern on the Stone
Head First Design Patterns
Database In Depth Relational Theory for Practitioners
Information Architecture for the World Wide Web: Designing Large-Scale Web Sites
Survival Is Not Enough: Zooming, Evolution, and the Future of Your Company

In mind/on shelf

The Fabric of the Cosmos: Space, Time, and the Texture of Reality
The Mind's I: Fantasies and Reflections on Self & Soul
The Trouble With Physics: The Rise of String Theory, The Fall of a Science, and What Comes Next
Why Beauty Is Truth: A History of Symmetry
Genome
Consciousness Explained
Darwin's Dangerous Idea: Evolution and the Meanings of Life
Dreaming in Code: Two Dozen Programmers, Three Years, 4,732 Bugs, and One Quest for Transcendent Software
Absolute Beginner's Guide to Building Robots
Micro ISV, From Vision to Reality: Books: Bob Walsh
The Macintosh Way
On Intelligence
Teach Your Own
Intelligence Reframed: Multiple Intelligences for the 21st Century
Disciplined Mind : What All Students Should Understand
Everything and More: A Compact History of Infinity (Great Discoveries)
The Unschooled Mind: How Children Think and How Schools Should Teach
The Dot

Compiling Sandbox 2.1 beta [www.kids.platinumarts.net]

Downloaded Platinum Arts Sandbox 2.1 beta multiplatform version.

On Ubuntu 7.10 (Gutsy) I had problems running it out of the box.
After I fixed the permissions I got this error message.


./bin_unix/native_client 
./bin_unix/native_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory


So I checked to see what it was linked againt.

ldd bin_unix/native_client 
        linux-gate.so.1 =>  (0xffffe000)
        libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf7e44000)
        libSDL_image-1.2.so.0 => not found
        libSDL_mixer-1.2.so.0 => /usr/lib32/libSDL_mixer-1.2.so.0 (0xf7dd5000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7dc0000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7d2a000)
        libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7ca7000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7bb4000)
        libm.so.6 => /lib32/libm.so.6 (0xf7b8f000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7b83000)
        libc.so.6 => /lib32/libc.so.6 (0xf7a39000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7948000)
        libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7882000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf787e000)
        libdirectfb-0.9.so.25 => /usr/lib32/libdirectfb-0.9.so.25 (0xf7827000)
        libfusion-0.9.so.25 => /usr/lib32/libfusion-0.9.so.25 (0xf7820000)
        libdirect-0.9.so.25 => /usr/lib32/libdirect-0.9.so.25 (0xf7811000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf77f9000)
        libvorbisfile.so.3 => not found
        libvorbis.so.0 => not found
        libogg.so.0 => not found
        libsmpeg-0.4.so.0 => not found
        libGLcore.so.1 => /usr/lib32/libGLcore.so.1 (0xf6e60000)
        libnvidia-tls.so.1 => /usr/lib32/tls/libnvidia-tls.so.1 (0xf6e5e000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6e50000)
        /lib/ld-linux.so.2 (0xf7ee5000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf6e4c000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6e47000)



In the end I recompiled it.

I had to install several SDL libraries to get it to build.

libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2dev

Installation of these also installed the following packages on my computer

libjpeg62-dev libsdl-image1.2-dev libtiff4-dev libtiffxx0c2

libogg-dev libsdl-mixer1.2 libsmpeg-dev libsmpeg0 libvorbis-dev

I installed g++ also to get it to compile.

I had to also change permissions on Sandbox2.1/src/enet/configure to make it executable.

LATER that same day....

I unzipped the 2.1 beta again, to see if, now that the libraries are definitely installed since building myself works fine.

dave@escher:~/software/Sandbox2.1$ ./bin_unix/native_client -t
bash: ./bin_unix/native_client: Permission denied
dave@escher:~/software/Sandbox2.1$ ./sandbox_unix
bash: ./sandbox_unix: Permission denied
dave@escher:~/software/Sandbox2.1$ chmod +x sandbox_
sandbox_kart_unix  sandbox_unix       
dave@escher:~/software/Sandbox2.1$ chmod +x sandbox_unix 
dave@escher:~/software/Sandbox2.1$ ./sandbox_unix
./bin_unix/native_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
dave@escher:~/software/Sandbox2.1$ chmod -R +x bin_unix
dave@escher:~/software/Sandbox2.1$ ./bin_unix/native_client -t
./bin_unix/native_client: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

I looked on http://www.kids.platinumarts.net/wiki/index.php?title=Bug_reports
and it says sandbox_unix will fix permissions, but it did not work for me. It also says bin_unix/native_client will run without changing permissions, but I did not see that either.

NOTE: This is on AMD64 Ubuntu 7.10 now that I think of it, so most likely explanation is that the binaries are 32 bit.

Suspicion confirmed:
(07:47:39 PM) eihrul: the binaries are 32 bit

It works fine if I compile myself.

12:34 PM, 09 Mar 2008 by dave bauer Permalink | Comments (0)
categories: Technology and Education , Learning

This quote from Mary Lou Jepson, the CTO of OLPC, and designer of the amazing, low power, sunlight readable display inside it, shows why the OLPC will change the world, while Intel just wanted to sell CPUUs

"Mary Lou Jepsen: Where to start: Classmate is more expensive, consumes 10 times the power, has 1/3 the wifi range, and can't be used outside. Also, the Classmate doesn't use neighboring laptops to extend the reach of the internet via hopping (mesh-networking) like the XO does. So not only is the XO cheaper than the Classmate, the XO requires less infrastructre expenditure for electricity and for internet access. In Peru we can run off of solar during the day and handcrank at night for an additional $25 or so per student – this is one-time expense – the solar panel and the crank will last 10 or perhaps 20 years. Just try running electricity cables up and down the Peruvian Andes for that cost while making sure it's environmentally clean energy. The Classmate isn't as durable as the XO, and its screen is about 30% smaller, the batteries are the type that can explode and only last 1-2 years and can't be removed by the user and harm the environment. The batteries are expensive to replace: $30-40 per replacement. The XO batteries last for 5 years and cost less than $10 to replace. Finally, the XO is the greenest laptop ever made, the Classmate isn't – this matters a great deal when one proposes to put millions of them in the developing world."

The low power, green technology, new batteries, they all are starting a revolution in portable computer technology. The OLPC can run and recharge in incredibly hot environments where a regular PC, price and size don't matter, would not work, and could be dangerous for the Lithium Ion batteries.

OLPC is innovating with software as well, taking us beyond the office software that's loaded on almost every desktop. This is about leanring, and building the future of computing.

09:08 PM, 13 Jan 2008 by dave bauer Permalink | Comments (0)
categories: Technology and Education

Reboot your organization system [blog.crankingwidgets.com]

Your GTD system is not the problem advises your to rethink your system. Simplify, got back to basics. Think about what parts of your system make sense for what you are trying to accomplish.

The author recommends switching to paper, which can really help to get you thinking about what you want to organize and how you want to prioritize your life.

Personally I use a hybrid system that seems to work most of the time. I use paper to get everything straight in my head. Forget pricey designer notebooks. I made my own using these instructions.

09:29 AM, 12 Jan 2008 by dave bauer Permalink | Comments (0)

XML
Powered by: OpenACS Community Web Application Toolkit, PostgreSQL, and AOLserver High Performance Web Server