There is a great article done by a member of the team that did the New York Times Netflix infographic. I especially love the fact that they wrote a scraper in ruby to pull in some of the data they needed off of google search results.
Tag Archives: www
I never thought that one of the skills I’d need to have as a farmer is PHP
Favorite thing heard at the Winter Sun CSA pickup yesterday:
We’ll send out an email once the website goes live. We were hoping it would be up by now, but we’ve been having problems. I never thought that one of the skills I’d need to have as a farmer is PHP.
This out of a conversation with the Hudson Valley Seed Library project. I’ll post a link to their website once it’s live.
Seriously underwhelmed by Adobe AIR on Linux
Having been at a Web 2.0 conference for a chunk of the week, I figured I’d finally download an try Adobe AIR, as they announced a Linux version last week at the Linux Collaboration Summit. I am massively underwhelmed.
First off, only 1 of the top 6 air apps on their site actually run on the Linux build of AIR. That app, an rss reader, which is basically a clone of Liferea, but not noticeably better in any way.
Secondly, transparency doesn’t work. I installed the Screenboard app and the Ruler app, both of which we useless as they didn’t do alpha channel.
Thirdly, their AIR app installer makes a new Gnome application menu for Air Examples each time it installs an application. So I now have 3 Air Examples folders in my application menu, each with 1 application in them.
Finally, air fonts seem to be hard coded to something smaller than my desktop settings, with no clear way to scale them up. Any application framework that doesn’t respect my system font settings is pretty useless to me.
Hopefully a lot of these get fixed in the near future. The only thing that AIR seemed to do was a lot of animated menus, which are pretty, but not actually useful. Perhaps if the alpha layer stuff had worked, I’d be a bit more impressed, but without that all the demo apps seem pretty pointless right now. And the one app that I might actually care about, TwittAir, uses functions the Linux AIR runtime doesn’t have yet.
Upgrading my Linode to Xen
I just did the upgrade of my linode (which hosts mhvlug.org, planet opensim, dague.org, and a few other sites) to Xen. I had put in the request to join the beta for Xen a couple weeks ago, got in, and was slow on my side to actually kick off the migration (which was painless, but required about an hour of down time). It turns out that all of linode is now going to Xen. Based on very simple latecy tests, the box feels much snappier on serving up wiki pages.
Thoughts on Amazon’s S3
I finally got around to using my Amazon Web Services account this weekend and push the entirety of my digital photos into S3 (it’s in progress right now, doing a nice job of exercising my fios connetion). I thank Sean O’Conner for pushing me over the edge here, as he brought his use of S3 up at dinner after the last MHVLUG meeting.
As I’ve been working on wedding photo book, I started to realize it would be good if these photos existed somewhere besides my raid server at home, in the event of catastrophe (man made or otherwise). Wedding photos can’t be replaced. At the current bill rates, it will cost me $1.50 to upload my 15 GB of photos, and $2.25 / month to keep them hanging out in S3. For less than $30 a year to eliminate a single point of failure, I’m all for it.
Amazon did something incredible with S3. They decided that they weren’t providing an end service, but a component to build end services. As such, they created an incredibly simple programming interface (via a REST web service), seeded the community with sample code in a slew of languages, and said “have at!”. The results are somewhat impressive. There is a firefox plugin which provides a reasonable browsing front end so you can understand what your bucket / bin structure looks like. What sold me over is s3sync, which looks and acts like rsync, but has S3 as either the target or source. A single command, and all my content is being pushed into S3.
S3 also has a rich access list and meta-data interface, which has me pondering a photo album creation application using S3 on the back end. That will wait until the new year at least, but the possibilities seem interesting to me. The fact that there is a bittorent creation interface for S3 is also quite interesting, and would make for very reasonable distribution of things like ISO images.
While there are other applications more specialized for photo sharing, like Flickr, the general purpose nature of Hardware as a Service that Amazon provides intrigues me. The programmatic interface on it is also something that I’d like to get a bit of experience with, as I think this model for service delivery is going to become far more prevalent over the next few years. S3 is a pretty easy start point for that, though I’m still thinking of interesting projects for EC2 and the Mechanical Turk as well.
WordPress update
Not all that exciting, but I did do a wordpress update today. Everything looks good to me, but if anyone sees something off, a comment would be appreciated.
Failure to avoid Facebook
I was really hoping to avoid the whole facebook thing, but today someone that I haven’t seen or heard from in 7 or 8 years found me on facebook… and I gave up resisting. The value of these networks for me is giving me a handle to go catch up with people (mostly from high school), that I’ve lost touch with in the intervening decade and a half.
Off to make sure my facebook profile is even vaguely accurate from the account I made a while ago.
A google mystery
Over the summer I moved my blog from livejournal to wordpress. There were a lot of reasons to do this, and overall my experience has been very good with wordpress.
Once google indexed me, it came up with the following:
Includes personal information, photographs, family, and friends. dague.net/ – 34k – Cached – Similar pages – Note this |
Which was odd. That description didn’t show up anywhere on my site. At first I marked it up to finding a new wordpress installation, but others didn’t seem to have it. Then I marked it up to the xfn tag in the headers, but removing that didn’t seem to help either.
Then, today, I found something that makes this officially declared as a mystery. I did a google search on the phrase If you search google on the phrase “Includes personal information, photographs, family, and friends.”. Guess how many hits are found?
No… really… guess.
I don’t think you actually guessed yet…
Seriously, this is more fun if you play along.
Web | Results 1 – 6 of 6 for “Includes personal information, photographs, family, and friends.”. (0.24 seconds) |
6… 6 ?!?!
And I am 5 of the 6 hits. Ok, what is going on here? Anyone with any theories would be appreciated. While it is amusing, I’d love to actually get real content indexed for dague.net again. Feedback appreciated as comments.
Ruby gymnastics
@strips = @user.comics.collect {|c|
c.strips.find(:all, :conditions => [“date > ?“, 7.days.ago])}.
flatten.
delete_if {|c| c == nil}.
sort_by {|c| c.date}
The previous shows ruby in much of it’s glory, and is code that I needed this weekend for one of my side hacking projects. I’ve colored it to match what xemacs shows me, just to make it a little more clear.
First off, it shows off the power of mixins. 7.days.ago does exactly what you would expect, providing you with a date object.
Second, it shows off the power of collect (aka map in many other languages). Collect lets you iterate through a list you have, and return a new collection based on an arbitrary transform. In this case returning a list of strip objects for each comic.
And lastly, it shows the fact that collection operations can be chained. My list of lists becomes a single order list, I purge out nils (probably redundant at this point), and then sort all the objects by their date field.
Ruby is such a fun language to program in. 🙂
are you on twitter and/or delicious?
Over the past couple of months I’ve started looking more at various new “web 2.0” sites, putting aside past prejudices, and seeing where the value in these applications might be.
Delicious is social book marking. I’ve found it is a great way to put interesting stuff on my blog that I didn’t have more than a sentence to say about anyway. It also cuts down on my IM spam to people with interesting links I’ve found, because if they want them, they are here.
Twitter is microbloging, which I’m still experimenting with. It’s more like free form presence vs. content of any nature. I think there is something valuable there, but my few weeks of experimenting are too little to really sort that out. You can see my status at twitter now.
If you read this, and have a Delicious or Twitter account, let me know (post a comment, or find me in other ways). I’d love to network in with more people here and get a better sense of the network effects.