News for hackers. Stuff that matters.
Re:Chromium Software Updates: Courgette by smanek on Monday December 07, 2009 @08:59AM (#981152)
I would be interested in hearing cperciva's take (since he's the author of bsdiff ...)
Re:Chromium Software Updates: Courgette by tsta on Monday December 07, 2009 @10:31AM (#981305)
You can find his comment here: http://news.ycombinator.com/item?id=706346
Re:Chromium Software Updates: Courgette by ableal on Monday December 07, 2009 @02:21PM (#981871)
And, since then, a patent issue popped up; see http://lwn.net/Articles/359939/
Re:Chromium Software Updates: Courgette by there on Monday December 07, 2009 @11:21AM (#981421)
The small size in combination with Google Chrome's silent update means we can update as often as necessary to keep users safe.

silent update? so there's no confirmation dialog or prompt before you start automatically updating what many consider to be the most important piece of software on their computer?

Re:Chromium Software Updates: Courgette by xal on Monday December 07, 2009 @06:20PM (#982498)
I actually think this is the way to go. Think about it: Chrome just emulates the rest of it's own environment here. Web sites are updated all the time without update dialogs, why should the browser be different?
Re:Chromium Software Updates: Courgette by russss on Monday December 07, 2009 @08:50AM (#981138)
I really wish Apple would take a leaf out of Google's book on this. I'm getting quite fed up with 70MB+ updates twice a month.
Re:Chromium Software Updates: Courgette by ComputerGuru on Monday December 07, 2009 @08:58AM (#981149)
I wish Microsoft would take a leaf out of anyone's book. Even the silliest of updates (definitions and rules for God's sake!) require a reboot: Just yesterday an update to the timezone rules forced me to restart Windows 7 (on my Desktop).
Re:Chromium Software Updates: Courgette by bumblebird on Monday December 07, 2009 @11:37AM (#981447)
I bought my son a netbook with XP on it. Brand new.

Got it connected to wifi, "You have 40 updates".

Massive updates, and it needed about 10 reboots to get through all 40 updates.

Windows makes me so sad :(

Re:Chromium Software Updates: Courgette by blasdel on Monday December 07, 2009 @06:10PM (#982471)
Usually for me it's two Windows Update ActiveX extensions for IE that need to updated before it even lets you get anywhere, a an update to the update installer, a round of ~40 updates including IEX which pops up a dialog in the background that blocks installation, and then once it's 'finished' there will be at least one more round of updates if you close it and reopen it.

As bad as Microsoft's clusterfuck is, Adobe's is orders of magnitude worse!

Re:Chromium Software Updates: Courgette by rbanffy on Monday December 07, 2009 @08:57AM (#981144)
Unless you depend on Mac-only software, I strongly advise you to try a modern Linux like Ubuntu or Fedora. You may encounter updates a couple times a month, but updates this size are very rare and so is the need to reboot after them.

I know. I am a Linux fanboy.

Re:Chromium Software Updates: Courgette by andyking on Monday December 07, 2009 @09:13AM (#981171)
I've had two kernel updates (40+ MB downloads and a required reboot) in the past month or so on the latest Ubuntu, but in general you're right, these updates aren't usually this common.

OpenOffice updates seem to be the worst in Ubuntu; a few years ago, I remember a 100+ MB update to remove a logo from the splash screen!

By the way, this is probably the wrong place but I really don't like the new way it notifies you of an update - instead of a small icon in the systray and a notification, you now get update-manager appearing on top of whatever it is you're doing. A backwards step.

Re:Chromium Software Updates: Courgette by nuclear_eclipse on Monday December 07, 2009 @10:58AM (#981370)
instead of a small icon in the systray and a notification, you now get update-manager appearing on top of whatever it is you're doing. A backwards step.

I can't wait to upgrade my inlaws' LTS machin to the newer releases for exactly this reason. They never notice the icon in the tray, but they'll do something about the updates window...

Re:Chromium Software Updates: Courgette by DrJokepu on Monday December 07, 2009 @09:25AM (#981200)
At least on Fedora, if you use the binary NVIDIA driver, on kernel updates you also have to make sure that you update your drivers to use the latest kernel headers. I typically forget this step so after the reboot I'm greeted by the console prompt. Recompile, reboot again. Annoys the hell out of me.
Re:Chromium Software Updates: Courgette by russss on Monday December 07, 2009 @09:36AM (#981221)
Ubuntu has DKMS which automates this whole process. You just get a pause on bootup while it recompiles the driver.

http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support

Re:Chromium Software Updates: Courgette by DrJokepu on Monday December 07, 2009 @12:08PM (#981529)
Fedora also has DKMS according to this: https://admin.fedoraproject.org/pkgdb/packages/name/dkms

However the NVIDIA driver has its own installer and stuff so I don't think it works nicely with DKMS. Probably that's why it's not working at all in this case.

Re:Chromium Software Updates: Courgette by russss on Monday December 07, 2009 @01:57PM (#981793)
Works for me on Ubuntu - although I do install my nvidia drivers using Envy, so maybe it's that.

http://en.wikipedia.org/wiki/Envy_(software)

Re:Chromium Software Updates: Courgette by rbanffy on Monday December 07, 2009 @12:34PM (#981579)
"instead of a small icon in the systray and a notification, you now get update-manager appearing on top of whatever it is you're doing"

Isn't there a way to configure it's "eagerness to get updated"? There should.

If not, we should file a bug report

Re:Chromium Software Updates: Courgette by russss on Monday December 07, 2009 @09:01AM (#981157)
Yeah, I'm a Linux sysadmin and I run Ubuntu at home, but I have a mac laptop because the hardware is nice and my experience with Linux on laptops is poor. Also, Omnigraffle is awesome.

Maybe I should give Linux another go on the laptop, when I have a couple of days to spare...

Re:Chromium Software Updates: Courgette by alecthomas on Monday December 07, 2009 @10:52AM (#981359)
Save yourself the pain, don't.
Re:Chromium Software Updates: Courgette by rbanffy on Monday December 07, 2009 @12:35PM (#981582)
Thanks for the insightful comment.
Re:Chromium Software Updates: Courgette by stephencelis on Monday December 07, 2009 @09:01AM (#981156)
WebKit nightlies have been updating differentially for a few weeks now. It's nice to see a 2 megabyte download instead of the previous 50 or so. It remains to be seen, though, if Apple incorporates this into its more generalized software updates. (Edit: given another comment, it appears they already do.)
Re:Chromium Software Updates: Courgette by blasdel on Monday December 07, 2009 @09:08AM (#981163)
Apple does use bsdiff for a lot of their updates by default (just not for iTunes/QT) -- I think they were some of the first to use it outside of FreeBSD.
Re:Chromium Software Updates: Courgette by lsb on Monday December 07, 2009 @09:17AM (#981177)
Yes, they were saying that bsdiff produces diffs 10x courgette.
Re:Chromium Software Updates: Courgette by andreyf on Monday December 07, 2009 @11:00AM (#981378)
Although cperciva pointed out [1] that this is probably due to a bug in bsdiff. Still, decompiling executables to compress them better is pretty damned nifty. The fact that there are people who know how to do this on a non-mission-critical project @ Google definitely shows the level of talent there.

1. http://news.ycombinator.com/item?id=706496

Re:Chromium Software Updates: Courgette by sh1mmer on Monday December 07, 2009 @11:08AM (#981393)
Am I the only person that that thinks the argument for security is pretty flimsy? Does the size of the update really delay the rollout of patches that much compared to: discovery, the reporting to the vendor, patching and testing?

While I think this is good work by the Chromium team, I think they should just talk about convenience.

Re:Chromium Software Updates: Courgette by pohl on Monday December 07, 2009 @12:21PM (#981554)
That depends: what is my bandwidth budget and how many users would I like to be able to support? I think the answer to the latter is "all of them", and the former is a big cost for a free product.
Re:Chromium Software Updates: Courgette by ableal on Monday December 07, 2009 @02:27PM (#981879)
There's also the user's bandwidth budget - on mobile phones, outside the U.S., entry-level data plans may have limits as low as 100 MB/month or 10 MB/day.

If the (silent) updates bust the user's budget, they're not going to be appreciated ...

Re:Chromium Software Updates: Courgette by flogic on Monday December 07, 2009 @01:04PM (#981644)
If you have something that is both convenient and secure, it's much better than something which is just secure.
Re:Chromium Software Updates: Courgette by listic on Monday December 07, 2009 @12:44PM (#981602)
Wouldn't it be better if applications were distributed in source form? Minimizing patches size would be trivial then.

I wonder why noone seems to have thought of it.

Re:Chromium Software Updates: Courgette by djcapelis on Monday December 07, 2009 @02:59PM (#981975)
Source is often larger and you need to keep around the base source to figure out how to apply the diff and get a correct result.

What they're doing here is superior to source-based distribution if you care about update size and ease.

Re:Chromium Software Updates: Courgette by prewett on Monday December 07, 2009 @08:12PM (#982722)
You would have to make sure that all your users have a (working) version of a compiler that is compatible with the libraries. For C++, this can be a royal pain. Even on Linux, where a compiler can reasonably be expected to exist, there's no way of knowing whether the system's compiler is what you need. And don't even think about Windows, where only developers have a compiler, unless you'd like to ship GCC/mingw with your original app...
Re:Chromium Software Updates: Courgette by nimrody on Tuesday December 08, 2009 @01:28AM (#983186)
There used to be an initiative called ANDF (http://en.wikipedia.org/wiki/Architecture_Neutral_Distributi...) which was designed to distribute software in some form of intermediate level code. They got compiled to native code on the user's machine.

I guess you could think of LLVM object files as the equivalent today.

Re:Chromium Software Updates: Courgette by pronoiac on Monday December 07, 2009 @02:01PM (#981805)
You might look into Gentoo Linux. Building everything from source multiplies the disk space & time involved in upgrades.
Re:Chromium Software Updates: Courgette by cloudhead on Monday December 07, 2009 @10:02AM (#981254)
Google never fails to impress.