Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Chrome for Android and Safari for iOS? (Score 4, Informative) 74

> So, they're running Android and iOS on your
> computer to run the same binaries as those
> platforms?

No. "They" are allowing you to connect your Android or iOS device to your computer (likely via USB), then debugging the on-device browser using the Firefox debugger running on your computer. That way you're debugging the thing you actually want to debug, but using the same developer tools you're using for your other debugging, and which therefore you're already familiar with.

Comment Re:Nice Thing: systemctl status shows you log entr (Score 1) 928

cgroups just enable systemd to collect all of the log entries from all of the processes belonging to a service without missing any*. When a sysvinit service daemonizes itself, the pid of the daemon isn't the same as the pid of the process that init actually created. This means that every service has to keep track of its own pid (in a pidfile), and that every service would have to report this information to syslog somehow.

Or you could add this capability to init, but then your new init is no longer doing just one thing and this is exactly the complaint most people have about systemd. Also, be careful not to change the existing interface with syslog, because then you're imposing your own views on everyone else, just like folks are saying about systemd.

Oh, and if your service logs to syslog, and it's being run under systemd, then systemd intercepts those and attaches all of the extra metadata before adding the log entry to the journal. You don't need to rewrite anything to be compatible with systemd. In fact, if you also have syslog installed then systemd will automatically send everything that gets logged to syslog as well; you get both at the same time and neither steps on the other.

I don't like systemd because it is systemd, I like it because it gives me a great way to query my logs and find out what my systems have been up to. If you give a sysvinit system the same capabilities then I will use those capabilities just as often.

* Well, cgroups also let systemd do a few other things not related to logging, such as setting resource limits on individual services, but I don't use them much myself.

Comment Nice Thing: systemctl status shows you log entries (Score 5, Informative) 928

If you have a service called 'foo', then 'systemctl status foo' not only shows you whether the service is running, it also shows you the last 10 log entries created by that service. This is great when the service failed; usually the error message will be right there.

How does it do this? Well, because all processes created by the service are in the same cgroup, all of the log messages (and even anything they print to stdout, which would have been lost otherwise) can easily be tagged with the service name (and a bunch of other metadata). You can use journalctl to query the journal for the logs from a specific service, and systemctl status does this for you.

Comment What is the point? (Score 4, Insightful) 88

What was the point of Firefox? IE was free and was a proven and already well-established browser. By your logic, we never should have built Firefox and the Web should have stalled with IE6 in 2002.

The world needs a truly open mobile OS as much as it needed a truly open browser a decade ago. Android is open in name only and Google is hurriedly moving its most lucrative components into closed proprietary services and apps that aren't a part of open source Android. iOS is as closed as everything Apple does. Windows is getting some nice HTML5 support for apps, but not nearly enough. There's clearly an opportunity for HTML5 apps to compete on mobile if someone can build a solid alternative platform to the monopolies and silos we're all stuck with today.

Comment Re:Anti-math and anti-science ... (Score 1) 981

Christians throughout history have understood that the laws God prescribed for Israel in the Old Testament are not mandatory outside that context, and in particular are not to be applied wholesale to gentiles (i.e. almost everybody). This isn't some modern opportunistic innovation, it's explicit in the New Testament (e.g. Acts 10-11,15).

Comment Re:Anti-math and anti-science ... (Score 1) 981

The Protestant reformers would have objected violently to your characterization. To them, rejecting the human authority of the Pope in favour of 'sola scriptura' was a move *away* from secularism. You're right that ironically it provided room for true secularism to grow.

But the grandparent post is right nevertheless. The Christianity of the New Testament is fundamentally compatible with secularism and pluralism because it grew up as a minority faith in the Roman Empire and took hold through mostly-peaceful implementation of the teachings of Jesus. There have been a lot of deviations from that course but those deviations can be corrected/stripped away without doing violence to the core, and in the modern era have been.

Comment Re:Rockets suck (Score 2) 211

A rocket is a mass driver, and all of the "scifi" types of propulsion break the laws of physics one way or another. Space elevators would be pretty nice, but we still haven't found a material strong enough. Carbon nanotubes are the current hope, but we can't make them long enough yet; they'd have to be very long indeed to make a strong enough elevator. Short nanotubes have to be glued together and then you're down to the strength of the glue.

Slashdot Top Deals

"It may be that our role on this planet is not to worship God but to create him." -Arthur C. Clarke

Working...