-
posts
-
Tokyo Hackerspace Meeting
Yesterday I attended the second Tokyo Hackerspace meeting. It was the first time I attended such the meetings which are being held weekly now. I have a feeling that more was talked about and decided last week but it was good to get an update on how things were going and what people were interested in with the hackerspace. I was told that more artists and creative folks attended the first meeting but this meeting seemed to have mostly web and hardware folks who were interested in joining the two worlds. Another development was that Chris Wang (in red below)...
-
Tokyo Hackerspace
Me and a number of people are starting a new hackerspace in Tokyo. From the http://www.hackerspaces.org homepage: Hackerspaces are community-operated physical places, where people can meet and work on their projects. Me and miwaza came up with the idea (well mostly miwaza) for starting up a hackerspace in Tokyo and miwaza took it upon herself to tell give a 2 minute talk and tell everyone that she thought we should create one. Many people thought it was a great idea and have started moving to get it created. Most hackerspaces have to do with hacking hardware but I thought that...
-
Preview blog posts within the django admin.
I implemented blog post previews for my blog using the technique described here: http://latherrinserepeat.org/2008/7/28/stupid-simple-django-admin-previews/ It’s very simple as it is simply a view using an existing record. I’d prefer something that allows you to preview without having to save before you do but that would mean you would either have to put all the data in the url as GET parameters or implement it as a post request. A get would be ideal since you could open it in a new window but it would require javascript and ugly urls and support for the get parameters on your preview view....
-
Google I/O Day 1
I’m about 2 weeks late getting around to writing about Google I/O and most people already know what went on but I’ll share a bit more. The keynote was given by Vic Gundotra. Vic announced that Google would be pushing HTML 5.0 in order to speed up acceptance of the web as a platform. He included 5 things that Google is excited about. These include, The canvas tag The video tag GPS/Location data Offline data Web workers At the end he announced that everyone gets an android phone. Since Android phones are starting to come out now they seem to...
-
New Django-based Homepage
I finally got around to finishing up my Django based website. It’s pretty inexcusable for a Django developer to have a PHP based blog website. I’m happy that it seems to be snappier and I haven’t don’t anything particular to try to make it fast so that means I can probably make it even speedier by optimizing delivery of static content, and some caching since the blog and some other content doesn’t change that often. This is also my first post that I’m writing in Restructured Text. I’m starting to write pretty much all of my documentation so hopefully I’ll...
-
Google Wave BOF
I attended the Google Wave BOF (Birds of a Feather – a gathering of people with similar interests). It was a good time for folks with Google Wave accounts to show it off to folks who can’t sign into it yet. It originally was going to be about 25 people but due to popular demand the location had to be moved, and it went up to about 40 people. Lots of folks were interested in hearing about Google Wave as a new collaborative platform. id:a2c mentioned my ‘debuggy’ robot that I created to show events as they get fired by...
-
Google IO 2009
This year I attended Google IO and had so much fun that I think I’ll have to break it up into several blog posts. Google IO is held in San Francisco and is the #1 Google event of the year. About 4000 or so developers attended the event which was held in the Moscone West Convention Center. In this post I’ll kind of give the history of the events leading up to the event and some context. One day in late January or so, Google announced that registration for this year’s Google IO was open and there was a subsequent...
-
Tokyo Barcamp 2009
Today I participated in Tokyo BarCamp 2009. From the Tokyo BarCamp website: Tokyo BarCamp 2009 will be a day of workshops, presentations, and discussions on a wide variety of topics related to technology and how it affects our lives. I was a little skeptical about how organized BarCamp would be when I decided to participate but it became very cool and conductive to discussing ideas. It especially gave people a good opportunity to think about the future of the web and the internet and various other topics such as “music in virtual worlds” and “eco living”. Discussions I participated in...
-
Connecting Sortables in jQuery UI
jQuery has a UI framework called jQueryUI which provides a number of UI controls and widgets that you can use to create cool user interfaces. I’ve been using jQueryUI a fair bit for work recently and wanted to share a pretty cool feature that jQueryUI has. jQueryUI has a widget called a sortable which is just a list of sortable dom elements. It allows you to drag the items around and resort them in a list. Options are passed in an object that you give to the sortable constructor/initializer. You can initialize a sortable like so: $("#my-list").sortable({ axis: "x", });...
-
Unreadable
What is it about some C programmers that makes them write code that looks like this:
if(len<16) {
for(k=start;k<start+len;k+=j) {
j=1;x=V[I[k]+h];
for(i=1;k+i<start+len;i++) {
if(V[I[k+i]+h]<x) {
x=V[I[k+i]+h];
j=0;
};
if(V[I[k+i]+h]==x) {
tmp=I[k+j];I[k+j]=I[k+i];I[k+i]=tmp;
j++;
};
};
for(i=0;i<j;i++) V[I[k+i]]=k+j-1;
if(j==1) I[k]=-1;
};
return;
};