A few years back I received a birthday card that, when opened, played a 15-second clip of The Final Countdown. Before tossing it out, I tore the little board and speaker from the card. I knew nothing about electronics at the time, but I just thought it was worth keeping around. (more…)
This Thursday, please join us at a FREE exhibition of the work of Cornelius Varley (1800-1860) put on by the venerable American Philosophical Society. It is a fantastic exploration of the life work of this fellow tinkerer and inventor who’s insight and explorations reminds me a lot of our Hive76 members!
A few of us will also be presenting at this event! We will have live 3D sugar glass printing, exhibitions of Brendan’s boom cases, Dan’s 8 mm RockBox, PJ’s electronics, Corrie’s textiles and artwork, Chris Terrell’s wood burning, and maybe a few more things.
We hope to see you there! Deets and directions below.
Free Refreshments (wine, food, music) will be provided at the event!!
APS Requests your RSVP HERE: email@example.com
Thursday, June 6th, 2013
APS Museum in Philosophical Hall
104 S. Fifth Street, Philadelphia, PA
Lately, I’ve been teaching myself the Racket programming language. It has a very interesting combination of tools, training-wheels-mode, and rocket-ship-mode. Originally built as a teaching programming language, it has significantly outgrown its pedagogical roots and is now a very robust applications language. I’m even developing a business project in it as we speak!
But it is a little rough around the edges. While it has a lot to make it a very easy language to learn, it is ultimately meant for computer scientists, those in training and those in working. There is an underlying feeling to everything that “this easy thing will eventually get harder.” As I see more and more inside the Racket community itself, I know that that is not their intention, and that they hope to be able to bring the joy of programming to everyone, regardless of their background.
A tool that has brought the joy of programming to everyone has been Processing. Processing, in a round-about way, brought a lot of features of the Racket environment to Java. There are some very, very clear parallels between the DrRacket programming environment and the Processing editor. If this was unintentional, then it at least clearly indicates the superiority of the form as a pedagogical tool, as two independent environments have both evolved the same feature. If it was intentional, then there are ways in presentation in which Processing has grown past Racket that I think could be brought back to Racket-land.
Racket and Processing
At a very high level, you can see the similarities between the DrRacket editor and the Processing editor. I have intentionally made the code samples different for each, as they represent more of the canonical methodology for each language.
As an artist with a very strong background in computer science, there are things about Racket that appeal to me that Processing will never be able to do. There are things about Processing that are very awesome and very nice that Racket could do, if someone with a very strong background in computer science took the time to make it so.
Where Racket succeeds over Lisp and Scheme, and where Processing–and thus Java–succeeds over all, is that enough is provided for you to not require you to learn the more advanced language features to get good results. Racket calls it “batteries included”, and it is, I believe, the most important concept that Processing borrows from Racket. Beginners don’t want to learn about “public static void mains”; to this day I still don’t know why that garbage is so necessary.
My hope is to try to bring some of the batteries of Processing back to Racket. The potential is there for Racket to be every bit as popular with artists as Processing is, today. The things that it lacks in comparison to Processing are relatively trivial to develop, in relation to the things that Processing lacks in comparison to Racket. By bringing artists into the much more powerful environment of the Racket programming language, once they have mastered the fundamentals of programming with the training-wheels mode, Racket can be molded by artists, for artists, to let people think and program in ways that the programmer-artist chooses, not in ways that the original language designer chose for them. If there are two groups of people that I know hate being told how to think more than anyone, it’s artists and programmers.
I’d like to hear from the Hive76 readership, especially those who have experience with Processing (though all are welcome to comment), about what you like and don’t like about Processing, about programming, about art, about putting code down in text files, etc. This certainly applies to the Arduino crowd, as well, as Arduino is based on Processing. In the meantime, I have a few thoughts on where the work could begin.
Make the website prettier
First impressions are important, and most programming language websites are prettier than Racket’s. I would more readily crib from Ruby than from Processing here. Ruby’s website is very clean and concise, very inviting and pleasing. Everyone cares about taste, especially artists.
Racket’s website is built in Racket, with a sub-language called Scribble, specifically designed for building documents and documentation. It’s an excellent language, but its default styling is kind of ugly. Restyling the site is a low-hanging fruit that could bring in more people, if only because they don’t jump ship prematurely.
Make more dynamic examples for beginners
The Racket documentation has its heart in the right place, but ultimately feels like its drawing examples are just pat examples. The drawings aren’t very interesting and its not immediately obvious how one gets to more interesting things. See this page for an example. It’s easy to draw a smiley face in Racket, it’s much harder to draw a good looking smiley face. And before it becomes apparent, the documentation dives too quickly into the computer science topics thereafter. In contrast, Processing starts off with examples that are extremely visually compelling. As people are visual creatures by nature, this seems the superior methodology. Note that the Processing example is the introductory page to the documentation–one click off of the front page–whereas the Racket example is several pages into the documentation–two clicks and several screenfuls of scrolling off of the front page. Much more compelling examples in Racket are much more deeply hidden.
Finally, make more artistic things with Racket
The Processing website is built around showcasing what people have done with Processing. While Racket’s package system can be considered the same thing, to a degree (and it is already in the process of getting better), it is again not as visually compelling. Racket needs an elevator pitch, a high level view that shows the answer to “what will you do with Racket?”.
 Historical Note: Racket has been around since 1994, when it was originally called PLT Scheme. They figured they lost more people being immediately associated with Scheme and Lisp than they gained, so in 2010 they changed the name to underscore the fact that there is so much more to Racket than the name “Scheme” implies. Suffice to say, for beginners it doesn’t matter, other than knowing that their is history to the project and it isn’t going away anytime soon.
 There are problems in both examples; both are overly simplistic and both would not scale well for large applications. But the gist of the difference is there, Racket is about functions that define what we want to happen, Processing (because it is based on Java) is about instructions. The differences to the non computer scientist are difficult to explain, so for now you will just have to take my word for it that the former is a generalization of the latter and is therefore more robust and open for greater expressiveness.
 For the computer scientists reading, succinctly: macros. You either know what I mean or you don’t, this is not the place to get into a technical description of macros. For the non-computer scientists, the best analogy I can make is magic. Magic isn’t real in our world, but I can think of nothing that comes closer to resembling it than the massive productivity gains that macros can afford, once mastered. But neither is mastery of macros in Racket required to do great work. Processing is what happens to languages like Java that do not have macros. In Racket, something like Processing would stay a part of Racket and not be a separate project.
We got some Raspberry Pis and began jumping through some tutorials. Adafruit has a particularly thorough and easy to follow series. We’ve had good luck with the Raspbian Wheezy distro and it works just like familiar Ubuntu since it’s based on Debian. Remember to run:
sudo apt-get update
sudo apt-get upgrade
upon first launch. That will make things a lot easier since the release is rather old by now.
I got some time to explore the Raspbian distro.
After seeing all of my efforts, Morfin couldn’t wait to give it a shot.
Eventually we got my favorite light-weight print controller github.com/kliment/printrun running an active 3D print. It really was incredible to have a $40 computer connected to the interwebs and sending gcode with a full GUI over python->USB-serial. It’s a bit too slow for computational slicing, but would probably be GREAT for a bot-farm. Note that you should also use pianobar instead of full-blown pithos for pandora audio. Note that the audio worked great after we ran the apt-get upgrades mentioned above.
suggested by Kliment via IRC (/ht), the way to have a heavy toolhead moving about in 3D with high speed AND precision is to modify a ShopBot instead of a Rostock. Recall, the Darwin suffered this design challenge which led to the Mendel.
With RAMBo bypassing the stock motherboard we can drive the ShopBot to scary speeds (10x faster in XY and 100x faster in Z.). Precision should also be ~10x better than belt-driven motion, but needs more fine tuning.
and did i mention it was freaking awesome?
My ShopBot RAMBo Marlin firmware branch is available via GitHub (of course). Follow along in the GitHub log to understand our process.
Blender, the awesome open-source do-everything model/rig/render/animate program continues to be an important part of my toolkit. The Artist Community is definitely a huge bonus. So check out this excellent tutorial over at BlenderGuru.com
So…I put Sean’s Harrow through it’s paces, and here are some of my newest desktop backgrounds.
First you get the basic render down. I use 32-bit color with OpenEXR file format, saving z-buffer info too, just, you know, in case you need it later. You should get something like this… kind of flat when viewed on a crappy computer screen, but i assure you there is a ton of color info there for fine tuning later.
With all that extra color depth, you can easily fine tune the contrast, like so.
Then you need to come up with the shadow version… Andrew Price from BlenderGuru does this in a new Scene. I like the stark contrast… when you look carefully the sharp edges tell you that you are looking at a perspective view.
Put it all together, and you get a softly-back-lit Logo. WIN!
On Thursday April 25, our series of events for Philly Tech Week continues as we open our doors for DIY Music Night (5pm-???). If you’re into music, making music, or making things that make music, you won’t want to miss it! If you’ve been to the space before, you’ll know that we run on a steady diet of tunes. And on Thursday, we’ll have all our audio and music-centric projects out in what is sure to be the loudest night of PTW. Come by and see the space, make some amplified noise, hang out, or share your own projects.
We’ll have guitars, amps, synthesizers, sequencers, speakers, fuzzboxes, tremolo pedals, signal generators, oscillators, speakers, drum machines, pickups, karaoke machines and probably alot more – all made at Hive76.
Plus we’ll have a handful of contact microphones to give away! We’ll help you turn anything into an amplified electric instrument in 10 minutes flat.
On Wednesday, April 24, Hive76 will be transforming our typical Wednesday open house into a special Tech Week Open Hack!
Over the years, we’ve managed to accumulate a plethora of electronic detritus, as one might expect from a hackerspace. We’d love to invite you to come to our space and
help us clean it put the junk to good use! We’ll have some microcontrollers on hand and several members around to help you along your way. The idea is to split attendees out into workgroups that will concentrate on designing and building objects from parts we have available for you at the space! Wanna throw together a bot that responds to table tapping? How about something that plays like a musical instrument? Dig making LEDs respond to external stimuli? Just wanna learn how some of these things might be possible? Slightly annoyed with how often I ask questions in my posts?
—Please bring a laptop along if you have one available. Some programming experience is a plus, but definitely not necessary.—
Wednesday 4/24 5pm – 10
Hive76, suite 519 915
Gratis and Libre (free)
Spring Garden St
Philadelphia PA 19123
RSVP by commenting below.
***ALSO: If you haven’t been to Hive76 and want to see what we’re about, stop by on Monday April 8th for our Monthly Monday Microcontroller Madness (7-10PM) or on any (other) Wednesday night for our weekly open houses (7-11PM)***
Our grand finale/blowout/party for Philly Tech Week will take place on Saturday, April 27. Everything from the previous week’s events will be on interactive display, and more. It’s an all-day exhibition of everything that goes on at Hive76 and everybody’s invited!
- 3D Printing/OpenSCAD interactive demo
- Fighting robots
- DIY musical instruments, effects, snyths, amps, circuit bending, everything
- Continuous open hack/project marathon: make whatever you want with whatever we’ve got
- Open soldering workstations
- Member’s signature projects on display
- Gaming, arcade and pinball machines
- Free food
We are located in the Arts Building at 915 Spring Garden Street. Stop by at any time during the day/night and dial 0519 at the callbox. See you there!
For Philly Tech Week, I will be showing visitors how to take a shape from Adobe Illustrator into the popular open source CAD program OpenSCAD and make a 3D model suitable for 3D printing.
I’m sure you know Illustrator. It’s the most successful vector drawing program <clarkson>in the world.</clarkson> OpenSCAD is less well known. It is best described as coding for objects. You make a solid with the function cube() and cut a cylinder() out of it with the difference() function, etc. But sometimes you want a more organic or complicated shape to start with. That’s where artist JK Keller stepped in and made a script that automates some of the process for you. What you need for this workshop:
- Adobe Illustrator
- This script: https://github.com/jk-keller/Adobe-Scripts
- Some designs or ideas
There may not be time to print everyone’s design, but you should go home with something 3D printed.
Monday 4/22 5pm – 10
Hive76, suite 519
Gratis and Libre (free)
915 Spring Garden St Philadelphia PA 19123
RSVP by commenting below.