Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:I wouldn't (Score 1) 171

If that's a major chore for you, may I suggest investing in a test suite, so that you don't have to go through manually and test all your patches?

Yes, that would help with testing, but also multiplies the work: now you have patches and the new test suite to maintain and shepherd through upgrades. :)

Testing patches actually wasn't the main obstacle. The far bigger time sink was when some patched piece of functionality moved over to a different location in the codebase. Then the engineer had to go and become familiar with their changes, find how things got rearranged, and adopt the patch to the new code. That's a lot of unnecessary work just to maintain the status quo.

As for whether we needed to upgrade so frequently - yeah, we actually did. Hopefully the OP doesn't, though. :)

Comment I wouldn't (Score 1) 171

Maintaining custom patches for a foreign codebase is going to be painful, proportionally to the number of patches, and how badly spread out they are through the codebase.

Consider this: every time the Rails team changes things, you'll have to go through your patches and make sure they still apply correctly. And if, heavens forbid, they do some major refactoring, you'll have to spend the time figuring out what functionality got moved where, and re-apply the patches as necessary.

My project was maintaining a custom set of patches for a major open source library for a while, and it was fairly labor-intensive: every time the library provider released a new version, a senior engineer spent a good part of a day going through the codebase and repatching it, testing the new version, etc. The problem was, however, that they released new versions frequently, and we needed them as soon as they were released.

If your patches aren't going to migrate upstream, I'd be very wary of spending a lot of time maintaining them as the core library keeps evolving. Try to measure how much time it would take to update your local patched Rails when they release a new version (especially a major one, if you can), and project future work estimates from that.

For us, we ended up sacrificing functionality for development speed, and we switched to a less capable library that worked right out of the box without endless patching.

The Internet

Submission + - San Francisco free Wi-Fi plan falls through (sfgate.com)

r writes: Earthlink backs out of contract negotiations to blanket San Francisco with free Wi-Fi, citing money problems. From the SF Chronicle article: The contract, which was three years in the making, had run into snags with the Board of Supervisors, but ultimately it was undone when Atlanta-based EarthLink announced Tuesday that it no longer believed providing citywide Wi-Fi was economically viable for the company. ... EarthLink spokesman Jerry Grasso said that EarthLink was willing to work with San Francisco but had decided that it "was not willing to work in the business model where EarthLink fronts all the money to build, own and operate the network."
The Courts

Submission + - British Police Identify Killer in Radiation Case

reporter writes: "According to a story by the Associated Press and a front-page story by "The Guardian", British authorities have identified Andrei Lugovoi to be the murderer who used radioactive pollonium-210 to kill Andrei Litvinenko. The British government will ask Moscow to extradite Lugovoi. "The Guardian" states, "The British government is preparing to demand the extradition of a Russian businessman to stand trial for the poisoning with polonium-210 of the former KGB officer Alexander Litvinenko. Senior Whitehall officials have told the Guardian that a Scotland Yard file on the murder which is about to be passed to the Crown Prosecution Service alleges that there is sufficient evidence against Andrei Lugovoi for the CPS to decide whether he should face prosecution.""
PC Games (Games)

Submission + - Boston Game Devs Make 8 Games in 36 Hours

Darius Kazemi writes: "This past weekend, a bunch of Boston-area game developers got together and did a 36-hour Boston Game Jam, inspired by the Indie Game Jam. We made eight games in 36 hours based on the theme of "shift" for platforms as diverse as PC, GBA, and cell phones. The games range from a surprisingly complex behavioral sim to a game where you have to squish your opponent in a 2D physics deathmatch. Most of the games are available for download right now, and some of them even include the source code. In days to come, we'll be adding developer diaries and other goodies."
Security

MySpace and GoDaddy Shut Down Security Site 344

Several readers wrote in with a CNET report that raises novel free-speech questions. MySpace asked GoDaddy to pull the plug on Seclists.org, a site run by Fyodor Vaskovich, the father of nmap. The site hosts a quarter million pages of mailing-list archives and the like. MySpace did not obtain a court order or, apparently, compose a DMCA takedown notice: it simply asked GoDaddy to remove a site that happened to archive a list of thousands of MySpace usernames and passwords, and GoDaddy complied. Fyodor says the takedown happened without prior notice. The site was unavailable for about seven hours until he found out what was happening and removed the offending posting. The CNET article concludes: "When asked if GoDaddy would remove the registration for a news site like CNET News.com, if a reader posted illegal information in a discussion forum and editors could not be immediately reached over a holiday, Jones replied: 'I don't know... It's a case-by-case basis.'"

Slashdot Top Deals

I'd rather just believe that it's done by little elves running around.

Working...