Older blog entries for katzj (starting at number 138)

EC2 and Fedora: Still stuck at Fedora 8

Amazon’s EC2 service is great for being able to roll out new servers quickly and easily. It’s also really nice because we don’t ever have to worry about physical hardware and can just spin up more instances as we need them for experimenting or whatever.

Unfortunately, they’re still stuck in the dark ages with the newest AMIs available for Fedora being Fedora 8 based. With Fedora 12 around the corner, that’s two years old — something of an eternity in the pace of distribution development. I’d love to help out and build newer images, but while anyone can publish an AMI and make it public, you can’t publish newer kernel images, which really would be needed to use the newer system.

So, if you’re reading this at Amazon or know of someone I can talk with to try to move this forward, please let me know (katzj AT fedoraproject DOT org). I’d really strongly prefer to continue with Fedora and RHEL based images for our systems as opposed to starting to spin up Ubuntu images for the obvious reasons of familiarity.

Comments

Syndicated 2009-10-16 19:46:24 from Jeremy's Thoughts

Why do all deployment systems suck?

At HubSpot, we have a pretty wide array of different things being used for the webapps running behind the scenes. This isn’t surprising. There’a also some home-grown scripts (in python, as that’s the scripting language of choice… something I’m not complaining about) to take care of deploying the various webapps. It works, but I really want to get it doing a bit more so that it’s more useful and also get the different scripts doing a bit more sharing of code so that we can improve one place and get the benefits for everything.

Given that this seemed like a pretty typical problem, I figured I’d take a look and see what open source projects exist out there to see if any of them were suitable or could be at least close to a good fit for what we need and want. Unfortunately, I was kind of disappointed…

  • Capistrano seems to be the big player in this arena. It was originally written for Rails and still very very strongly shows that heritage. This isn’t necessarily bad, but it makes it a lot harder to get to work if you’re not doing something that’s rails-like. There are some people who have gotten some things working with Java app deployments for tomcat, but they all feel a bit hacky. The other downside for me/us is that Capistrano is very much Ruby-based, both in how its own deployment language looks as well as some of the “how it depends on things working” aspects. Also, the fact that it’s written in Ruby and thus a little bit more difficult for us to hack on if/when we run into problems is a point against. So it’s probably a non-starter for now, or at least a pretty difficult sell
  • Fabric is written in python and seems to be following in the footsteps of Capistrano. Right now, it’s far far simpler. This is in some ways good but some of the pieces that we’d want (eg, scm integration) aren’t there and so I’d have to write them. And I’m not sure if the Fabric devs are really interested in expanding in that way; haven’t sent email yet, but planning to tomorrow to feel it out.
  • Config Management + Binary deployment is the approach taken in Fedora Infrastructure for app deployment and it seems to be working pretty well there. It might be something to get to eventually, but that’s going to be a longer term thing and I’m not actually convinced that it’s really the best approach. For Fedora it grew out of only a couple of things which could be considered “webapps” and a lot of system config that has turned much later into more webapps. It also pre-supposes a bit more homogenous of an environment than we use at HubSpot from the work I did there
  • Func is something that a few people have been working on that I keep wanting to find a use for but it seems a little less well suited to doing a lot of java app building/deployment given that it’s more https/xml-rpc based than shell based.
  • Roll your own is what we’re doing now and what it seems like is pretty common. I don’t necessarily like this, but it’s certainly the path of least resistance

So, what am I missing? Is there some great tool out there that I haven’t come found that you’re using for Java (and more) webapp deployments? Bonus points if its python-based and pretty extensible.

Comments

Syndicated 2009-10-07 02:50:18 from Jeremy's Thoughts

10 Year NCSSM Reunion: Has it really been that long?

I spent the weekend at my ten year high school reunion. A lot of people that I’ve mentioned this to have been somewhat surprised or responded along the lines of “I wouldn’t go to my high school reunion”. Which I can understand. But Science and Math is different than your typical high school. As a two-year residential magnet school, you end up getting to know people pretty well — it’s basically like going to college a couple of years early, only with a little bit more supervision. And so it’s the same sort of bond and friendships that a lot of people end up getting in college.

Kara and I flew down on Friday morning and then met up with a friend for lunch. We then spent some time just kind of relaxing before meeting up with a group of my friends from high school for dinner. It’s a good group although we don’t get together anywere near as frequently as we used to… for the first few years after high school, we made it a point to get together around New Year’s or at some point over the holidays. This has fallen off as we’ve all moved increasingly far apart distance-wise and have increasingly busy lives. It was good to get together and catch up, though, and especially in a smaller group environment.

Later in the evening was the sort of opening party/reception type thing and my class had a surprisingly good turn-out. The event was held at a bar in Durham (Tyler’s) which was fine. It was a little weird seeing people smoking indoors as that’s something kind of foreign after living in Massachusetts for almost six years. This probably contributed to the scratchy throat feeling I had the rest of the weekend. As I walked around, I was able to see and catch up with a ton more people; both that I had been friends with through high school or people I barely talked with. It was really nice as pretty much everyone is doing something that is kind of interesting now and it was cool to talk with them. None of the usual crap that people complain about with high school.

Saturday was the main day of reunion stuff but my group of friends started earlier with breakfast at Elmo’s on 9th St. As usual, Elmo’s was good and we got there just in time to beat the majority of the rush. Then, it was down to campus and we watched a presentation about some plans to expand the school. I’m not really sure how I feel about it. On the one hand, it looks like a fair bit of work is going into making sure that things are nice and really trying to turn what had been a hospital hastily converted to a residential high school into a very nice residential high school. On the other, more people in the same sized space could be a bad thing. A day later and I’m still not sure where my opinion falls on the expansion. The rest of the day was filled with catching up with more people, walking around campus to see what had changed (both a lot and very little at the same time), our slide show (always fun to watch again) and the like.

Kara and I then skipped the evening’s festivities so that we could grab dinner with my parents as we haven’t seen them in a while and it’s unclear exactly when we’re going to be down again. It was a low-key evening and then rather than attend the late night party, we just watched Valkyrie in the hotel room.

This morning we slept in a bit more and then headed to campus for what had been billed as the faculty brunch. The location stated for it had been a little bit odd, and when we got there, we learned why — it was actually in PFM (the cafeteria). Also, the number of faculty present overall was pretty low at least that we saw.

We skipped out a little, though, so that we could grab lunch at the NC Farmer’s Market Restaurant with another group of friends. This was, as always, tasty and it was good to get to catch up with another group of friends. Then we met up with my sister and her husband and now we’re sitting at the airport waiting on our flight back to Boston. (Well, we were… home now. But I’m a day later posting it)

It was a fun weekend and it was great to catch up with a whole bunch of people. There were some people who I would have liked to have seen who couldn’t make it, but I got to see a lot of people that I hadn’t seen since our 5 year reunion or even longer for some of them. And while most are on Facebook, some aren’t. The event was better organized and a better set up than we had for the five year reunion, but there were a few things which bothered me and can hopefully be better for the next one…

  • The cost and especially the way the costs were organized was unclear. As it turns out, very few things were only for those who paid. This may be partially due to complaints over how much some things were, but it still wasn’t at all clear what you were paying for up-front.
  • Having the full schedule sooner would be nice — I think the final version was published a week or less ago. That’s just kind of poor for people trying to decide if they want to come or not and especially how to schedule their travel
  • Faculty presence was low. I vaguely remember complaining about this five years ago. I know it’s hard to get the faculty to come out, but some of it is communication with former faculty who have retired. They can’t come if they don’t know what’s going on.
  • Little interaction with current students. This is one that seems easily fixable but it’d be really nice to get a chance to have more current students around and talk with them and the like. Get the real story about what’s going on at the school; I didn’t trust the administration ten years ago, I don’t trust them now :-) Things like lunch yesterday or brunch today would have been perfect opportunities for them to be around, eating and join some alums. It would also be great for the current students to get to talk to people who have been there, done that, and are maybe doing something cool or interesting now. I would have liked it as a student and I would have liked it now as an alum.

Even with those suggested improvements, it was a fun weekend and I figure I’ll probably be back for the fifteen in five years and look forward to seeing everyone again then. Even if it does make me feel old to see current students wandering around.

Comments

Syndicated 2009-10-06 02:19:42 from Jeremy's Thoughts

Commuting Pedal Failures

One thing that’s quite nice about the new gig is that the office is in Kendall Square. Much, much, much better location-wise than Westford. It means that my commute is just about seven miles which is quite nice to do via bike. Also, if the weather’s bad or I feel lazy, I can take the bus to Alewife from right outside my house and then take the train in.

Unfortunately, I’ve now had two weird pedal failures in the past week. Last Thursday, I was leaving the office and clipped in. As I got about a block away, I noticed my foot moving weirdly on the pedal. As I pulled over to check it out, it became clear that the cleat was stuck in the pedal. After some investigation later, I realized that I lost one of the two screws holding the cleat into the plate in the shoe. It looks like the plate where the screw went in is actually pretty stripped. And in getting the cleat and shoe disengaged from the pedal, I essentially had to take the pedal apart so I decided to switch the pedals out for the plain SPDs instead of the slightly fancier SPDs that were on there.

Today, I was riding home and realized about halfway home that one of the pedals was coming unscrewed from the crank. I made it home without incident and re-installed the pedal without any noticeable problem, but I’m going to be keeping an eye on it over the next few days. Hopefully the crank isn’t stripped — it looked okay, but at this point, I’m a little cautious of it.

Maybe I should look at building a new commuter bike sooner rather than later :-) Although I really would like to get the Redline to last another year to year and a half.

Comments

Syndicated 2009-09-15 02:34:31 from Jeremy's Thoughts

Review: Amazon Kindle 2

I had asked via twitter a while ago for opinions on the Kindle as I had been thinking off and on about getting one for a while. Responses were very positive with really one exception: the DRM aspect. And it’s something that bothered me, but I decided that the convenience benefit was enough to outweigh that for me at this point. Especially when I considered that I often buy books, read them, put them on a bookshelf for six months to a year and then drop them off at a book drop. Re-reading isn’t my usual, instead buying new books is :-) Especially as the primary purpose for the Kindle is more for pleasure reading as opposed to more technical stuff

Since I knew I’d end up reading a lot while I was on vacation, I figured I’d take advantage of Amazon’s good return policies and try it out. If I liked it, great. If I didn’t, I could certainly hit a bookstore to get “regular” books and return the Kindle when I got back home.

As lots of people have said, the packaging of the device is very good — Apple-like is really the best way I have to describe it. They really want you to buy into a full experience. I turned it on and had already set up a few “free sample” books to be on the device. And reading on it has turned out to be a great experience. The page turning was a little bit distracting at first with a little bit of a flicker, but after half an hour or so of reading on it, I don’t notice it any more than I notice turning the page of a regular book. One thing that I didn’t find at first (because I didn’t read the documentation) is that you can change the font size — this was pretty handy as I can definitely handle smaller than the default — I’m currently using the smallest and am pretty happy with it.

One of the obvious questions with the Kindle is battery life. With the wireless off, it was incredible (I didn’t apparently need to charge during most of my 10 day trip with it sporadically on). Leaving the wireless on I need to remember to charge it every three or four days. But the charge is pretty quick. Unfortunately, it uses microUSB instead of miniUSB, so it’s another cable to have to be carried bringing me to three (miniUSB, microUSB, iPhone).

The selection of books seems to be pretty good. Not everything that I’ve looked for, but the vast majority. Pricing is okay, usually a little cheaper than the price for the dead-tree version and the over-the-air delivery is wonderful. Especially when sitting in an airport between flights.

In terms of reading on it, the screen is incredibly nice. I had my doubts, but they’re entirely gone. Reading in bed? Check (just be sure there’s a light). Reading outside beside the pool? Check. On a plane? On the couch? … And so on. The screen is incredibly readable and I don’t end up with any of the eye strain problems that I sometimes get after staring at a laptop screen or a monitor for long periods of time. How well it worked in sunlight is one thing that really surprised me. Obviously it’s supposed to be one of the strengths of the screen, but I’m wary of marketing-speak :-) But I really had no problem sitting and reading it even in direct sunlight.

Downsides? There are a couple. The biggest is the DRM stuff. It’d be nice to be able to share books (eg, if Kara decided she wanted to get a Kindle also so that we could both read the same books). It’d also be nice to have some sort of library functionality, although the samples are a big help in deciding whether it’s worth paying for a book.

The other real downside is the case that I got — the Patagonia neoprene case. It’s okay in that it protects it pretty well; it’s kind of crappy to use while reading, though and I’ve taken to taking the Kindle out of the case when I’m reading from it. Other case suggestions would be appreciated since I’m certainly going to keep the Kindle at this point.

Comments

Syndicated 2009-09-14 02:40:21 from Jeremy's Thoughts

Garmin 705 Tip: Sending Routes Between Devices

While I think I’m pretty good with the capabilities of the Garmin Edge 705, I learned a new trick with it last weekend. We were planning to do a century up to Cape Ann and Gloucester and I had mapped out a route with Bikely and loaded it onto my GPS. I sent out the link to everyone else who was planning to come, but Charles had not pre-loaded it onto his. Instead, he said that you can actually transfer routes, courses, etc between devices wirelessly!

It’s actually pretty simple — you hit the menu button, go to Settings, then “ANT+” and then Send on the device doing the sending and Receive on the one doing the receiving. And then, voila, you’ve sent the route between Garmins.

Very very cool, and something I’ll definitely have to keep in mind for future rides to new places as more and more of the team start getting the 605 and 705.

Comments

Syndicated 2009-09-07 18:51:56 from Jeremy's Thoughts

First Week at HubSpot

As I wrap up my first week at HubSpot, I have a few observations that are at least sort of interesting.

  • Real hardware. I’m pretty happy with my current laptop so I just got a desktop machine to use at work. The box I got is a Dell quad core with 8 GB of RAM. Nice box overall and Fedora installed with no problems. The nVidia graphics work fine for 2d and even xrandr seems to be doing the right thing. One thing that is annoying is that Dell is still shipping machines with VT turned off in the BIOS. Once I turned that on, though, KVM is also working pretty well on the box
  • Windows is both just as annoying as ever, less annoying and more annoying. You can run it in a virtual machine without real problems. But installing things, the terminals, etc are all still a pain. Stability is a bit improved. The whole “run as administrator” nonsense is a real pain when you’re trying to get a lot of stuff going.
  • Coming in at the end of the scrum cycle seems to sort of be a good thing. Get to see the final push and then the demos from that cycle followed by getting to sit in on the planning for the next sprint. I won’t be on a scrum team until the next sprint and so hopefully I’ll have a better frame of reference¡
  • Commuting to Kendall Square works really well for me. Okay, I knew this from riding into MIT but it’s still a takeaway. The bike ride in is a nice length; shorter would be fine, but longer really isn’t as practical.
  • Complex build processes exist everywhere and are despised everywhere. But it always seems like a build and deployment process is the last thing cared about.
  • I’m having a lot of fun being back in a startup environment.

So yeah, all in all, its been a good week. Now for a long weekend. Two four day weeks in a row for me I guess.

Comments

Syndicated 2009-09-04 23:35:28 from Jeremy's Thoughts

The New Chapter Begins

The new chapter begins… today was my first day working for HubSpot.

It’s a big change for me as I’ve been doing pretty much purely (fairly) low-level operating system work for a decade now. Going to a company that’s doing much more web development is making me shift how I think about everything from considering using Eclipse rather than a combination of Emacs/vim/terminals to the languages I’m writing in and the types of code I’ll be writing. And I think it’s a change that I need — I’ve been feeling a bit stagnant and so getting out of my comfort zone should help a lot.

Also, I think that HubSpot is doing some interesting stuff and I’m glad to be joining the team to help out in a variety of different ways.

Comments

Syndicated 2009-09-02 02:26:36 from Jeremy's Thoughts

Beginning A New Chapter

The end of one chapter and the beginning of a new one for me. Today is my last day as an employee of Red Hat. I still remember walking in the door for my first day at Red Hat and having Nalin set up my account so I could get started as Preston was a little bit late getting in that morning. It’s been a great eight+ years across five offices and two states working with lots of great people.

During that time, I’ve also had the opportunity to play a big role in the development and growth of Fedora. While the start was somewhat rocky, I think we’ve now built up an incredibly strong community that successfully releases a whole distribution (arguably, several!) on a regular schedule. And within that community, we’ve grown a pretty awesome set of leaders to continue to drive Fedora forward.

While I’m planning to still keep at least in touch with the goings-on of Fedora as well as running Fedora in places, I certainly won’t have the time to spend on it that I do today. I hope to keep in touch and see people at conferences and events from time to time. But right now, I’m looking forward to what’s next for me. And for those wondering, it’s something pretty different really. More on it next week..

Comments

Syndicated 2009-08-27 15:41:37 from Jeremy's Thoughts

2009 Seacoast Safari Recap

Better late than never right? Here’s a quick recap from this year’s Seacoast Safari that I had started and has been sitting in the drafts folder…

For the third year, I signed up for the Seacoast Safari ride to raise money for research and treatment of Cystic Fibrosis. As I’ve previously mentioned, this ride has a bit of a personal connection for Team Quad as one of the guys that rides with us, Chris Kvam, actually has CF. Not that you’d know it from watching how strongly he rides. This year, Quad had an even larger team than last year with 26 riders.

For me, the thing that made it even more fun is that I had convinced my dad to fly up and do the ride with me. Originally, the plan was to have him ride my Merlin and I would ride my Cannondale. The previous week’s accident made that not an option. But we found another team bike for my dad to ride and all was well.

Also, Kara served as the official photographer for this year’s event. You can see all of her pictures on flickr

Saturday started off a little bit drizzly, but it looked like the majority of the rain had passed us. The roads were still a little wet, though. I had decided to take it easy and to mostly ride along with my dad which worked out well for riding with a number of the other Quaddies. All was going well with about 10 of us riding together until Jon hit a rock and was thrown off-balance and went sliding across the pavement. Ugh. Not the way to start a charity ride. But we made sure that the paramedics were taking care of him and we continued on. The next mishap, just a mile or two later, was a flat that for some reason was quite difficult to successfully change. Finally it was fixed and the rest of the day went by pretty uneventfully and the sun finally came out. As we got to UNE in Biddeford, we saw Jon standing there after having been discharged by the ER and brought up by one of the Cystic Fibrosis Foundation staff. We had the barbeque lunch and then watched some of the coverage of the Tour stage from the day.

Dinner was the typical pasta dinner that has characterized the Seacoast Safari along with an award ceremony and silent auction. A nice impromptu addition to this year’s event was a few people auctioning off their prizes to raise even more money. Very cool! And Team Quad was recognized for the fact that we both had the largest team and had the largest fundraising amount of any team. Overall, the amount raised this year was over $100,000 making it significantly more than previous years.

We headed back to the dorms where we mostly sat around and talked bike geekery and then headed to bed to wake up early the next morning again.

Sunday morning came along and was quite sunny and perhaps perfect from a weather standpoint. We had breakfast and were then on our way. Again, I was content to take it easy and ride with my dad for the majority of the time. A number of other people were content to keep the same pace and so we had a nice group of about 8 Quaddies riding along at a fairly relaxed pace. We took in the scenery, we sang and enjoyed a wonderful day on the bike. At one point, I went to the front of the group and basically sat there for about 12 miles setting a steady pace into the wind. It was a great time and a good way to get a good tempo workout without having to really push it.

We made it back to Newburyport and wrapped things up. Stood around talking with people for a little bit, but at that point, wanted little more than a good shower and so were on our way pretty quickly to do so.

And with that, another Seacoast Safari was wrapped up. A good time overall and the route was just as gorgeous as always. And I think that the Cystic Fibrosis Foundation saw it as a pretty effect fundraiser. Looking forward to next year so that I can ride it again!

Photo by Kara Katz / CC BY-NC 2.0

Photo by Kara Katz / CC BY-NC 2.0

Comments

Syndicated 2009-08-20 02:46:46 from Jeremy's Thoughts

129 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!