Atom & RSD together again for the first time...

Posted by Daniel Tue, 16 Oct 2007 14:47:00 GMT

It Pays To Advertise: Joe Cheng: Configuring an AtomPub blog needs to be equally easy. For some reason, people in the AtomPub community don’t seem to like RSD (only Six Apart puts Atom endpoints in RSD). We need another autodiscovery mechanism.

Hmmm.  When I looked at RSD nearly five years ago, it didn’t seem so bad.  In any case, here’s a ticket and a patch to get WordPress to support autodiscovery of AtomPub endpoints.

[Here, here! And the peasants rejoiced! And the reason one (influential) person in the Atom community didn't like RSD wasn't for technical reasons, but because Dave Winer is an acquaintance, and an early supporter of RSD... and he was reviled by some members of that community. Anyway, all these years later, RSD is quietly doing its job, and should be employed for this purpose. That was kinda the point, with no preference for one API over another. Thanks Sam!]
Source: Sam Ruby

Posted in , , , , , , ,  | no comments | no trackbacks

raganwald: Ockham's razor as it applies to the big rewrite

Posted by Daniel Wed, 10 Oct 2007 13:21:00 GMT

raganwald: Ockham’s razor as it applies to the big rewrite: This is because, in my experience, the technical problems in projects are not root causes, they are symptoms of people and management problems. [Nice analysis.]

Posted in ,  | no comments | no trackbacks

This changes everything

Posted by Daniel Sun, 07 Oct 2007 11:44:00 GMT

This changes everything:

Never mind the buy 1 give 1 (a great idea). Don't wait until November when you can directly buy laptops for kids right here: One Laptop Per Child -- XO Giving. I just bought five. (Hit the Donate button).

This is a story about tools and bravery and marketing.

The bravery: When Nicholas Negroponte and his team started this project, they had nothing but obstacles. The status quo of software and hardware and skeptics stood firmly in his way. And he took a lot of grief for the effort. Even when you're doing nothing but good, fear of change is going to cause a lot of people to object.

The marketing: Everything, even laptops for kids, works its way through the innovation diffusion curve. That means that most countries, most organizations and most communities aren't going to adopt this tool for a few years. It doesn't matter if it's perfect... these things take time. Smart marketing embraces the curve and doesn't insist that it must change for this project, right now.

One kid (or five kids) at a time. It's enough. It'll happen.

[I had the same reaction, although I lack the resources to buy so many. I'll do what I can. Maybe I can get the folks at work to buy some and give them away.]
Source: Seth's Blog

Posted in , , ,  | no comments | no trackbacks

Agile “cheat” Sheet

Posted by Daniel Mon, 24 Sep 2007 00:37:00 GMT

Agile “cheat” Sheet: I checked to see if there was a version of this already for "cheat", the command line ruby wiki cheat sheet thing. There wasn't.

Now, there is!

Happy software crafting...

[Indeed. I'm so ripping this off to work locally... thanks Luke!]
Source: Luke Melia

Posted in , ,  | no comments | no trackbacks

7 reasons I switched back to PHP after 2 years on Rails

Posted by Daniel Sun, 23 Sep 2007 17:55:00 GMT

7 reasons I switched back to PHP after 2 years on Rails: SUMMARY: I spent two years trying to make Rails do something it wasn’t meant to do, then realized my old abandoned language (PHP, in my case) would do just fine if approached with my new Rails-gained wisdom. [Since this was highly discussed when it was announced I was wondering what happened when it petered out. Now there’s a lot of folks that know that scrapping a working code base is far more expensive than refactoring. And there’s a bunch more who know that switching languages and frameworks also has a cost. Sooo… this was not a surprising outcome all things considered. I think the end of the story is nice though, as there is nothing like the feeling like you borrowed what you needed and have a system that does exactly what you want (no more and no less).]
Source: O’Reilly Ruby

Posted in , ,  | 2 comments | no trackbacks

The Rubinius Sprint

Posted by Daniel Sun, 23 Sep 2007 14:23:00 GMT

The Rubinius Sprint: Except for, nobody including me is smart enough to predict which of the Ruby.next implementations is going to have that performance mojo. So, it seems like the only reasonable thing is to bet on all of ’em. One thing that makes this easy is that all the teams get along with each other; a natural outgrowth of Ruby culture, and something from which we can all learn. [Nice, with an interesting sidebar on a great community.]
Source: Tim Bray

Posted in , ,  | no comments | no trackbacks

More Remoting At Oxygen

Posted by Daniel Thu, 20 Sep 2007 01:02:00 GMT

More Remoting At Oxygen: All and all, it’s about the easiest remote worker scenario I can think of. [One thing a number of us note is that at times Wendy is far more "quiet" than when she is in the office. Quiet should be read as, Wendy is a smart, energetic woman with strong opinions (in the very best sense of all these qualities). I think this diminishment of presence is due to the occasional lack of ability to hear what's going on. People talk softly forgetting that someone's not in the room. Before you know it you've tuned out. I've proposed getting a setup that includes some nice mics (something like a pair of PZMs would be great) to help get the sound into the pipe. Maybe some nice DA's would be good. I should research tying something like that into Skype when I have a chance.]
Source: Ken H. Judy

Posted in ,  | 2 comments | 3 trackbacks

After Ditching Apple, NBC Opts for Flex Pricing and More DRM With Amazon

Posted by Daniel Tue, 04 Sep 2007 23:59:00 GMT

‘After Ditching Apple, NBC Opts for Flex Pricing and More DRM With Amazon’: Here’s a simple rule of thumb: if an honest customer has to even think about the rules, your DRM system is odiously restrictive. [Righteo.]
Source: Daring Fireball

Posted in , ,  | no comments | no trackbacks

Ript!

Posted by Daniel Wed, 15 Aug 2007 23:27:00 GMT

Steve: As with any great product, there have been several things that make it special — the idea, our product owner, the process, etc. The most important to me though is the Team.

Luke: Ript lets you tear stuff off the web just like you tear something out of a magazine. Check it out and let me know what you think.

Wendy: For the past year, our team at Oxygen has been working on several projects. Most of which are internal, providing tools for the Oh! channel to operate. One of them, Ript, is something completely different.

[I've been working with this team since October of last year on a update of Babynamer.com. In June they asked me back to help build the Ript website. Since then I've joined the group full time, but it is only recently that I got involved with Ript. There's a group blog as well. Like Luke and Wendy suggested check it out. And for those of you who are still wondering what I've been working on for most of the last year... now you know. There's a lot more to this story... coming soo to a blog near you.]

Posted in , , ,  | 2 comments | no trackbacks

Moving to Edge Rails

Posted by Daniel Thu, 09 Aug 2007 01:49:00 GMT

Some of this might be out of date, but the simplest critical path seems to be as follows:
  1. Create a throw away Rails project
  2. Freeze to Edge
  3. Create a new project using Edge to ensure you have the latest environment files etc.
  4. Add the missing ActiveResource gem
  5. Live on the Edge

Command line stuff looked a bit like this.

For the search engines... the error I was getting (under Mongrel) was
Exiting
/Users/daniel/temp/aumeatur/vendor/rails/railties/lib/commands/servers/mongrel.rb:16: warning: already initialized constant OPTIONS
/Users/daniel/temp/aumeatur/vendor/rails/railties/lib/commands/servers/mongrel.rb:19: undefined method `options' for []:Array (NoMethodError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
        from /Users/daniel/temp/aumeatur/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
        from /Users/daniel/temp/aumeatur/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
        from /Users/daniel/temp/aumeatur/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
        from /Users/daniel/temp/aumeatur/vendor/rails/railties/lib/commands/server.rb:39
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from script/server:3

Posted in , ,  | no comments | no trackbacks

Mac Subversion client: ZigVersion!

Posted by Daniel Wed, 08 Aug 2007 19:43:00 GMT

If you work with designers and others on projects and you store all the work artifacts in Subversion (which a lot of folks consider a requirement for safety and agility) have a look at ZigVersion. It is by far, the best Mac client I’ve used. Getting started is painless and common functions are easy and quick.



I did experience a crash ro two with an imported working copy, but that might be something strange in that working copy. We’ll see.

I do wish there was a simplified interface for the truly non-savvy that eliminated some of the choices and options. Something that totally centers around getting the project, and updating it (whether by adding or modifying. Acts which should be transparent to that type of user.) But short of that, this is a nice clean client, and I’ll be testing it with my wife this evening.

Posted in , , ,  | no comments | no trackbacks

3 Script/Console scraps (YAML, Rails, app.class, reload)

Posted by Daniel Tue, 07 Aug 2007 01:41:00 GMT

I was playing around with script/console for a few minutes at the end of the day at work… and I wanted to check a couple of assumptions… one is that YAML is available! So hard to read ActiveRecord objects like this:

=> #"", "updated_at"=>"2007-06-05 21:11:37", "route"=>"", "title"=>"test",
 "ride_type"=>"road", "id"=>"1", "elapsed_time"=>"21:11:00",
 "created_at"=>"2006-06-05 16:55:00", "mileage"=>nil}>

can be displayed like this

--- !ruby/object:Ride 
attributes: 
  partners: ""
  updated_at: 2007-06-05 21:11:37
  route: ""
  title: test
  ride_type: road
  id: "1"
  elapsed_time: "21:11:00"
  created_at: 2006-06-05 16:55:00
  mileage: 

simply by typing this: y Ride.find(1)

Naturally it works with any object…

Second cool thing I looked up was Mike Clark’s post about the app.class for experiencing your app and exercising controllers…

And the last thing is is that if you need to change your code, instead of killing and restarting the console you can type “reload!” and it will do just that.

Posted in , , ,  | no comments | no trackbacks

Connector and Slingshot Open-sourced and Free

Posted by Daniel Mon, 16 Jul 2007 16:53:00 GMT

Connector and Slingshot Open-sourced and Free: Today Joyent is releasing the source code for our Connector and Slingshot products under the GPL v2. You can get immediate access to the code through our developer portal here. SVN is here. [Cool.]
Source: Joyeur

Posted in , , ,  | no comments | no trackbacks

Apple, On Custom JavaScript Events

Posted by Daniel Thu, 05 Jul 2007 11:06:00 GMT

Apple, On Custom JavaScript Events: This morning when I checked my Gmail account, I read a message (from someone named “Filippelli Christophe”) that said Apple seemed to be using my Custom JavaScript Events code on the iPhone page. (In case anyone misunderstands: this is a very good thing in my opinion.)[It’s a good thing I used this first… or folks would just think I’ve jumped on the iPhone bandwagon. Cool stuff Seth!]
Source: Truer Words - A Journal

Posted in , , ,  | no comments | no trackbacks

Ruby on Rails Image for Amazon EC2

Posted by Daniel Mon, 25 Jun 2007 00:41:00 GMT

Ruby on Rails Image for Amazon EC2:

Paul Dowman has put together a feature-packed Ruby on Rails focused “appliance” for Amazon’s EC2

The image is built upon Ubuntu 7.04 (Feisty), Rails 1.2.3, Ruby 1.8.5, MySQL 5, and includes the EC2 command line tools along with automatic backup of MySQL databases to S3 every ten minutes. Applications are served up using Mongrel clusters behind Apache 2.2. Paul’s blog post includes more details and a guide of how to use it.

[Nice!]
Source: Ruby Inside

Posted in  | no comments | no trackbacks

Older posts: 1 2 3 ... 5