Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Convergence vs DNSSEC? (Score 1) 189

I watched the video, but I still don't understand how convergence is better than putting the certificates in DNS with DNSSEC. He says that DNS registrars are not reliable enough, but from the video it looks like convergence ultimately relies on them anyway. e.g.

If I control the DNS entry for paypal.com then I just change its IP address to point at my server. People using convergence will find my server in DNS, get its (self-signed) certificate and send it to the notaries. The notaries will see that it is different from their cached copy, which will trigger them to check for updates. They'll all go to the (compromised) DNS system, get the new IP address, get the fake certificate and return "OK" to the user. What am I missing?

Comment Re:Not sure what the user benefits are (Score 1) 82

You raise an excellent set of points. So how does 0install fix this?

Firstly, you don't need to find packagers for each distribution. You create one XML file, which allows everyone to run the program.

When the new GCC comes out and breaks your program, you just change the version restriction in your XML:

<requires interface='.../gcc'>
  <version before='4.6'/>

Likewise with the new libpng, and bdb. Other programs will start using the newer versions, but your program will stay with the version that works. You can then work on fixing the bugs and getting a new release out in your own time, without having to rush.

For example, I distribute a lot of Python programs using 0install. They all started "#!/usr/bin/env python". When ArchLinux decided that "python" would now be Python 3, they all broke. But by adding a few lines to my 0install feed, I got them working again:

  <runner interface='http://repo.roscidus.com/python/python'>
    <version before='3'/>
  </runner>

Comment Re:Not sure what the user benefits are (Score 1) 82

... And if one wants, it can even rely on LSB I believe, eliminating a lot of the need to include copies of base libraries, and a decent starting point (though I can't tell if 0Install allows that, I think ROX application directories do, and this looks like a way to replace them though.

I'm not quite sure what you're asking here, but to be clear:

0install always shares libraries and other dependencies. For example, if your program depends on Java then 0install will use the distribution's version of Java (if installed), or 0install may download a 0install package of Java, or it may get Java from your distribution (using PackageKit). A 0install package should never need to bundle libraries.

On a multi-user system you can enable system-wide sharing. This is off by default because it requires adding a new sudo rule, and adding one automatically would be rude (the admin should be in charge of the sudoers file).

Comment Re:Give me Debian package management any day (Score 1) 82

In the case of 0install, the command name (if any) is chosen by the user, not the package. So you might do something like this for shell use:

$ 0alias convert-img http://image-editor.org/convert
$ 0alias convert-text http://text-converter.com/convert

If a package depended on one of these, it would express that in its dependencies. e.g.

Make example.com/convert >= 1.3 available to me as 'convert'

0install would ensure that example.com's convert command was in $PATH, but just for the program that needed it.

It's similar with libraries. A library's files are only in scope for programs that depend on that library.

Comment Re:Do not trust. (Score 1) 82

0install does not touch any files outside of ~/.config/0install.net/ and ~/.cache/0install.net/ by default, and it won't let packages change things at install time either. This is necessary so that it can be used with sandboxes.

The only exceptions are that it will make a configuration change that you request explicitly. For example, if you ask it to add Firefox 4 to your Network menu then it will do that, or if you ask it to add a "firefox4" shell command to run it then it will create a "firefox4" script in your $PATH.

You might be interested in the EBox sandboxing demo (the challenge is to create a package that accesses a user's files without the user's permission).

Comment Re:Give me Debian package management any day (Score 1) 82

RISC OS application directories and Apple bundles have the nice property that you can install from anywhere, can have multiple versions and there are no conflicts between packages (e.g. both installing a "/usr/bin/convert"). But shared libraries are a pain because you have to install them manually, and upgrading a library needed to install program B can make program A stop working.

Debian packages have the nice property that you get dependency handling and automatic updates, and shared libraries work better. The system automatically installs a library version that works with A and B, if possible, or refuses to install B if there is no such version.

0install combines the best of both systems: you can get software from anywhere, have multiple versions at once and there are no conflicts. But you also get dependency handling, updates and shared libraries. It automatically installs a library version that works with A and B, if possible, or installs two different versions of the library in parallel if not.

Software

Zero Install Project Makes 1.0 Release 82

tal197 writes "Zero Install, the decentralized cross-distribution software installation system, announced 0install 1.0 today after 8 years in development. 0install allows authors to publish directly from their own web-sites while supporting familiar features such as shared libraries, automatic updates, and digital signatures. Is this the end of the walled-gardens of traditional app stores and Linux distributions and the beginning of a true 'Web of Software'?"

Submission + - 0install - The Antidote To App-Stores? (gmane.org)

tal197 writes: "Zero Install, the decentralised cross-distribution software installation system, announced 0install 1.0 today, after 8 years in development. 0install allows authors to publish directly from their own web-sites, while supporting familiar features such as shared libraries, automatic updates and digital signatures. The end of the walled-gardens of traditional app-stores and Linux distributions and the beginning of a true "Web of Software"?"

Comment Re:philosophy (Score 1) 438

Python source is generally compatible (go another level deeper and you'll find that the .py files are mostly symlinks to a single copy, at least on Debian-type systems).

However, the compiled .pyc files need to be regenerated for each version, which explains the separate directories. The symlinks are a messy hack, resulting from the fact that Python requires the .pyc files to go in the same directory as the corresponding .py files, even though you need multiple .pyc files for each .py file. If Python could cache the .pyc files somewhere else, the mess could go away.

The main problem with Python compatibility is with the C ABI, which varies across different packages, making it impractical to use Python to add scripting to a C program, for example:

http://www.mail-archive.com/python-3000@python.org/msg09051.html
Science

Inhabited Island Vanishes Forever Underwater 408

PhreakOfTime writes "For the first time the rising ocean levels have washed away an inhabited island. Lohachara island was at one point home to some 10,000 people. It, along with several other spits of land near the Indian mainland, is now permanently underwater. From the article: ' As the seas continue to swell, they will swallow whole island nations, from the Maldives to the Marshall Islands, inundate vast areas of countries from Bangladesh to Egypt, and submerge parts of scores of coastal cities. Eight years ago ... the first uninhabited islands - in the Pacific atoll nation of Kiribati - vanished beneath the waves. The people of low-lying islands in Vanuatu, also in the Pacific, have been evacuated as a precaution, but the land still juts above the sea. The disappearance of Lohachara, once home to 10,000 people, is unprecedented.'"

Slashdot Top Deals

"Ninety percent of baseball is half mental." -- Yogi Berra

Working...