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


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Re:Ironicly, some older OSes are easy to "patch li (Score 1) 117 117

by Myen (#49045101) Attached to: Live Patching Now Available For Linux

That sounds more like kexec, where the running kernel is replaced (which also means existing processes are all killed). This newfangled thing is for live patching, where everything (including userland) stays up.

The DOS part you are talking about works because it isn't doing multitasking; effectively, each app is the kernel as it runs. For later examples of this, any 386 or higher version of Windows (3.11 WFW, 95, ...) did basically the same thing.

Comment: Re:Fuck Me (Score 2) 553 553

by Myen (#48817315) Attached to: SystemD Gains New Networking Features

FWIW, that third-party comment is actually first-party (Lennart Poettering goes by mezcalero on LWN).

As for systemd... I rather like it as a process/services/cgroups manager. I just wish they didn't cram everything else into the same project; I feel (without their extensive implementation experience) that having separated components with stable interfaces between them leads to a better user experience since people can try newer versions of various bits and switch back while bugs get fixed. The important part here being the stable interfaces... and well, Linux userland people, beyond a few notable exceptions like glibc, don't seem to believe in that.

Comment: Re:Go back in time 5 years (Score 1) 581 581

by Myen (#48424127) Attached to: Debian Votes Against Mandating Non-systemd Compatibility

Systemd as an init system / process spawning thing is kinda nice, actually. (I'm using it on OpenSUSE; tried Arch very briefly. Used it on Debian/Jessie for a bit because gdm3 needed it to let me login.)

Part of the systemd hate is from things that probably shouldn't live in the same project. People would probably be okay with it as a separate resolverd or something, but... having that coupled to systemd is just strange. One of the strong points of systemd is the ability to start services from a variety of triggers (socket activation, etc.); why can't it be an external project (with the same authors) that gets triggered at the right times? udev, maybe... not sure.

Comment: Re:False. (Score 2) 140 140

Is there a particular reason to block reading (search) instead of writing, given a highly suspect origin? That is, they can enable search and disable mail/plus/whatever, right?

I guess my question boils down to, what advantage does SEO pieces of shit get from searching Google? The only thing I can think of off the top of my head is to check if their SEOing was successful. That doesn't seem overly useful to me (but then, I've never tried to look at that).

Comment: Re:They KNEW about this vulnerability? (Score 1) 202 202

by Myen (#39258493) Attached to: GitHub Hacked

There are two groups of developers here.

Ruby on Rails, the framework, had developers that knew about this general class of vulnerabilities - it's easy to write code that ends up being buggy.

GitHub, the web site (that runs on Rails, and hosts the Rails source repository), knew about the general class of vulnerabilities but not that they had these particular instances of them.

It appears that Homakov tried to get Rails to change the defaults so that these things can't happen unless you ask for them, and was rejected as making the framework more difficult for prototyping use; the opinion on the bug was something along the lines of "the developer using the framework should be protecting against this". He then demonstrated in frustration that this was a bad default, since GitHub is one of the leading sites using the framework and is developed by people generally thought of as knowing what they are doing.

It appears that this has worked and the opinion of the framework developers have changed, and no real damage was done, other than possibly reputation.

GitHub, overall, seemed to be collateral damage.

P.S. I don't think GitHub is open source; Ruby on Rails is.

Comment: Re:Tethered jailbreak (Score 1) 121 121

by Myen (#36830622) Attached to: Apple IOS 4.3.4 Jailbroken Hours After Update

Do you happen to know how the drive-by PDF exploit manages to keep root, then? I'm curious as I don't see how arbitrary code execution via a PDF vulnerability differs from arbitrary code execution via a cable - what sort of magic allows the former case to bypass the security checks that the latter can't duplicate?

Comment: Re:From TFS (Score 1) 260 260

by Myen (#31019114) Attached to: MPEG LA Extends H.264 Royalty-Free Period

That particular comparison keeps getting reposted as the proof that Theora is feasible.

Theora may or may not be comparable in quality to H.264, but that comparison doesn't tell me either way. It completely ignores the H.264 encoding process, which means that Theora has the advantage of taking however long it needs to compress things. Lots of things involve a time/space (memory or disk) trade off, that needs to be taken into account too.

I don't particularly like the licensing issues around H.264 / MPEG*, but that doesn't mean I am willing to take an unfair comparison either.

Comment: Re:Visual Studio replacement on Linux (Score 1) 310 310

by Myen (#30884040) Attached to: What Tools Do FLOSS Developers Need?

(Caveat: I'm a C++ programmer, working on code that has lots of macros.)

The debugger. You can mouseover variables in the source view, and it shows the data (reliably, and points to concrete classes). It lets you switch between threads easily, and shows backtraces you double click on to get to the relevant source code. It uses a normal GUI file browser to let you choose symbols to load, if you haven't set it up beforehand (also via a GUI), and warns when it's out of date. With lots of annoying config file hacking, it can let you display structures in a custom manner.

The closest I've seen on Linux was insight, and that was quite a few years ago (maybe it's improved since?). GDB has a huge barrier to entry, and being line-input based means there's no organization (I don't want my code to be displayed in the same place as my backtrace or my local variables). DDD doesn't reliably display my data, and when it does manage to do so visualizes anything C++ horribly.

I've tried KDevelop (3 and 4) a while back; it absolutely hated dealing with things that has an external build system (i.e. it doesn't work as a pure debugger). Debugging C++ in Eclipse was a joke when I tried it (the one time I did have to work on Java, though, it was pretty nice).

As a reference, I code in Komodo/Eclipse/vim (all on the same code base, depends on what I feel like), on a project that uses autoconf/gmake. That applies to both win32 (via msys+msvc) and Linux. I use MSVC as a pure debugger, not as a code editor.


Space Photos Taken From Shed Stun Astronomers 149 149

Posted by timothy
from the love-the-gold-mylar dept.
krou writes "Amateur astronomer Peter Shah has stunned astronomers around the world with amazing photos of the universe taken from his garden shed. Shah spent £20,000 on the equipment, hooking up a telescope in his shed to his home computer, and the results are being compared to images taken by the Hubble Space Telescope. 'Most men like to putter about in their garden shed,' said Shah, 'but mine is a bit more high tech than most. I have fitted it with a sliding roof so I can sit in comfort and look at the heavens. I have a very modest set up, but it just goes to show that a window to the universe is there for all of us – even with the smallest budgets. I had to be patient and take the images over a period of several months because the skies in Britain are often clouded over and you need clear conditions.' His images include the Monkey's head nebula, M33 Pinwheel Galaxy, Andromeda Galaxy and the Flaming Star Nebula, and are being put together for a book."

Comment: Re:Extensions security? (Score 1) 291 291

by Myen (#30385214) Attached to: Google Chrome Extensions Are Now Available

Odd, your updates should end up in the sandbox (and due to AMO being silly, used to also mean your whole extension ends up on the sandbox, instead of having a last-reviewed version public).

This is of course assuming you haven't been marked as trusted; people who were on AMOv1 were grandfathered in, though I understand that's been mass-removed recently. Other "trusted" authors include google and various mozilla employees, AIUI (but unconfirmed).

"It is better for civilization to be going down the drain than to be coming up it." -- Henry Allen