Andrew’s Posterous

Rambling thoughts of a code monkey 

15 Things Worth Knowing About Coffee | The Oatmeal

Informative and funny!

Loading mentions Retweet
Filed under  //   coffee  

Comments [0]

Don't - The opposite of do

Perl Don't Module

    use Acme::Don't;

    don't { print "This won't be printed\n" };    # NO-OP

The Acme::Don't module provides a don't command, which is the opposite of Perl's built-in do.

It is used exactly like the do BLOCK function except that, instead of executing the block it controls, it...well...doesn't.

Regardless of the contents of the block, don't returns undef.

Programmer humor at it's best =)

Loading mentions Retweet
Filed under  //   programming  

Comments [0]

20 of the World's Most Beautiful Libraries

Comments [0]

HackageDB: procrastinating-variable-1.0.2

procrastinating-variable: Haskell values that cannot be evaluated immediately.


Procrastinating variables (PVars) are meant to be used in cases where you want to give someone a value that you do not have available yet, but will definitely have ready by the time that they need to use it...
Check out this website I found at hackage.haskell.org

programmer jokes aside, this is an incredibly interesting (if not just fun) concept.

Loading mentions Retweet
Filed under  //   haskell   programming  

Comments [0]

Chromium Blog: Mac and Linux builds available

If there's anyone who'd like to try our Chromium (Google Chrome for Mac OS X and Linux) there are early builds available for your enjoyment ( at your own risk of course!)

The build I've been running is speedy ( although some sites don't seem to work on it), has most if not all the tab features of Chrome, and has yet to crash on me yet.

Loading mentions Retweet
Filed under  //   chrome   linux   mac  

Comments [0]

Hidden OS X Settings

secrets.blacktree.com

A handy database of hidden settings for Mac OS X!

Loading mentions Retweet
Filed under  //   mac  

Comments [0]

Hivelogic - Top 10 Programming Fonts

Top 10 Programming Fonts In the past, we’ve had to decide between tiny monospace fonts or jagged edges. But today, modern operating systems do a great job of anti-aliasing, making monospace fonts look great at any size. Here’s a round-up of the top 10 readily-available monospace fonts for your coding enjoyment, with descriptions, visual examples and samples, and download links for each.

A bunch of handy fonts that are much easier on the eyes then the default fixed-width ones found on Windows.

Loading mentions Retweet
Filed under  //   fonts   programming  

Comments [0]

First Mac OS X botnet activated - Macworld UK

Doesn't really affect anyone who doesn't pirate Mac software (not that i do), but interesting read nonetheless.

Does this mean that Macs have become prevalent enough that we'll increasingly become the target of botnet creators? Only time will tell.

Loading mentions Retweet
Filed under  //   mac  

Comments [0]

MTP: Multitouch Table Prototype v3

Finally another update to our Multitouch project!

After months of planning and preparation, we are finally ready to get the project rolling. The major bottleneck was getting a project room to store all of our equipment (which took nearly a quarter to get =[ ), but now that that's out of the way, we're good to go! (See picture for a glimpse of our great view of the engineering courtyard!)

The main goal of v3 is move towards a fully functional multitouch table that we can cart from place to place. Over the weekend (actually 2 weekends ago from this post) we managed to put together a decent frame, as well as take apart a 19'' LCD screen we're using for the actual surface. We've placed this all together to get a rather decent looking (and functioning) surface that we are able to move around.

You can see our success in the photos I've attached. It's quite solid and gives us tons of space to work with in regards to where we're going to put the camera, processors, etc.

Preliminary tests show that our lasers are a bit weak (10 mw), so in an attempt to get some good blobs, I ordered some stronger ones (25 mw) as well as IR bandpass so that the LCD backlight doesn't get in the way of the blob detection. All in all, we're simply waiting on these parts to arrive before we can progress with actually getting everything put together.

We're also working on some experimental methods to do away with the camera completely. If it works, it would enable us to build a thin multitouch surface. Thin in the sense of somewhere around 2-4 inches thick, versus the 20+ inch height required for the camera.

Hope you enjoy this little update! I'm planning on posting more updates for the projects as we get moving along, so stay tuned!

                               
Click here to download:
MTP_Multitouch_Table_Prototype.zip (17978 KB)

Loading mentions Retweet
Filed under  //   cses   multitouch   ucsd  

Comments [0]

MTP: Multitouch Table Prototype v2

For those who don't know, I'm currently the President of the Computer Science and Engineering Society here at UCSD. We have multiple projects that we run each year and numerous events (such as programming contests, game nights, etc).
 
One of our projects this year is an attempt to build a fully functional Multitouch table, very similar to the Microsoft Surface. The only difference is that we're building everything from the ground up. This is including the actual table itself with all its hardware, a framework to interact with the table, and finally an API for developers to write applications for the table.
 
Whats great is that we'll be releasing as much information/tools/code as we can as we continually work on the project.
 
We're currently in our "prototype" phase, as we hammer out the details for our much larger table. In parallel, we're also slowly ramping up development of our framework/API and learning a lot in the process.
 
Last Saturday (November 22nd, 2008) was a significant day as we all got together (around 12 of us) to build our second prototype. Our first prototype was very much a hack and was put together rather hastily to actually prove that our method would work. The second prototype is a lot easier to move around and set up, and hopefully will allow us to garner a little support for our endeavor.
 
I'll try to post as many updates of our progress as I can. I should have a little more time for such follies next quarter.
 
--
Andrew

EDIT: I forgot to post our project page.... http://cses.ucsd.edu/mt

                     
Click here to download:
MTP_Multitouch_Table_Prototype.zip (10878 KB)

Loading mentions Retweet
Filed under  //   cses   multitouch   ucsd  

Comments [0]