Forgot your password?
typodupeerror

Comment: Re:Simple set of pipelined utilties! (Score 1) 155

by bluefoxlucid (#47927407) Attached to: Torvalds: No Opinion On Systemd

Because they manipulate each others's data directly, instead of passing messages, thus opening the potential for one functional unit to pass and integrate unvalidated data into the memory space of another functional unit; and because a systemic failure in one unit will bring down the entire system; and because the security contexts of various functional units differ, thus differing policies may apply; and because you may restart or reconfigure one functional unit without interrupting the others.

It's the same question as why not to make bash, sed, perl, X11, and Firefox kernel modules.

Comment: Re:This isn't scaremongering. (Score 0) 224

by chihowa (#47926883) Attached to: Scotland's Independence Vote Could Shake Up Industry

From an American point of view, your whole screed reads like the "defense of slavery" essays of old. A single issue argument based only on economics and dependent on the presumed incurable ignorance of your unwilling subjects.

I don't really care about this vote either way, but after wading through your disdainful little piece, I'm rooting for the Scots.

Comment: Re:Simple set of pipelined utilties! (Score 0) 155

by bluefoxlucid (#47926881) Attached to: Torvalds: No Opinion On Systemd

Pipeline intercommunication aside, most large programs of any quality *are* formed from a bunch of small "do one thing well" utilities. They're commonly called "libraries".

Hit it dead on.

People don't want the added work of making things work. It's like building a floor: you need to strip off the old finish, reenforce the subfloor, ensure the floor is level, pour thinset, roll ditra, pour more thinset, lay tile, clean, and grout. Some folks leave old linoleum or hardwood flooring, claiming it's stable, and then pour self-leveling compound or just screw down concrete board, then put tiles on top. Some just cement tile straight to the floor, or pour SLC and cement the tile to that.

A properly built tile floor has many interfacing components. Tiles don't delaminate due to deflection or material expansion. Expansion joints at walls and proper intervals prevent buckling and delamination or cracking. The floor holds heavy appliances and large live loads, handles vibrations, and even impact. By contrast, a poorly-built tile floor tends to delaminate when temperature or humidity change a few percent repeatedly over 2-3 years, or crack tiles, or have grout rapidly decay from deflection and vapor infiltration.

Modern Web browsers isolate plug-ins and separate rendering threads (tabs) in separate processes with IPC. A runaway page still freezes the entire Chrome browser until something kills it; a crash in a plug-in or page doesn't bring down anything else. Isolate contexts allow security context changes: a simple render process can drop all access outside of specific system calls (openGL, etc.), actions on open file handles at current access (i.e. open for read, read-only--allows for giving ownership of a network socket to a process), and IPC to the parent (through sockets, pipes, shared memory, and so on); most of this falls under system calls to affect open file handles (i.e. an OpenGL object, an open file, an open pipe or socket).

It would make sense to have an init system, like SystemD. It would make sense for SystemD to provide an init like SysVInit: a simple, small, very basic program to read the init configuration and start the system. It would make sense for the init process to start first an init manager that resolves dependencies and tracks running start-up daemons, which examines the system on initialization and starts the mount point manager if not started (to ensure the temporary and runtime directories are mounted), and then begins bringing up other init system components, hardware managers (udevd), and so on, as per the configuration of the init system.

It doesn't need to be a giant monolith. It can be a collection of utilities all dependent on each other, running 3 or 5 or 15 services all communicating with each other, all to bring up the system and supply system state management. This is the simplest and easiest way to make a complex system, aside from the overhead of writing a new program from scratch to surround the collection of functions you want to use. You'd have to put the IPC stuff into a library, and work out how each program communicates with its dependents and dependencies and how it reacts when they're not around. Each task, however, acts as a readily-verifiable utility or daemon, and so does not interfere with understanding of any other task by mixing their code together.

Comment: Re:Virtual Desktops (Workspaces) (Score 1) 438

by bluefoxlucid (#47926569) Attached to: What To Expect With Windows 9

People don't seem to get multi-desktop versus multi-screen. Nobody's figured out split desktop yet--I want two monitors with different desktops on each, changeable separately.

If I were a project manager for Microsoft, I would strongly push to port Gnome 3 onto Windows, folding the changes back into upstream. Gnome 3 on Windows, shipped as a standard option, would eliminate the usability issue between Windows and Linux: nobody would move to Linux after seeing the zoom-out view, application searching, and automatic virtual desktop features of Gnome 3. Windows on Explorer wouldn't be a crippling anchor to the 90s; Microsoft could just provide option for the next-generation Gnome 3 desktop.

The high productivity provided by Gnome 3's workflow--WinKey pulls up all your current desktop's windows, CTRL+ALT+[ARROW] moves you up and down, type to instantly search installed applications, drag-and-drop windows between desktops--is my major pitch for using Linux over Windows. That plus the Software Center (Pirate, Ubuntu Software Center, etc.) make Linux the top operating system in existence for people who actually want to use a fucking computer to get shit done.

I just wish Gnome 3's alt-tab swapped between windows, not application contexts (it's terrible, and doesn't swap back when you alt-tab twice); and that they hadn't made scroll wheel swap up and down between desktops, but rather left it as a zoom function on windows in the Activities view. If I want to scroll through desktops, I'll put the mouse over the desktop list and scroll; if I point at a window and scroll up, I want to zoom in. How is this difficult? Scroll wheel is a function of what at which you're pointing.

It's different when you're trying to argue with Apple, because you can't just download the Apple UI and tweak its source code. But Linux? You can port all those DEs to Windows (except Unity, which is a piece of shit). Marketing, boys.

Comment: Re:Great one more fail (Score 1) 582

by PopeRatzo (#47925565) Attached to: High School Student Builds Gun That Unlocks With Your Fingerprint

The US Constitution was an open declaration of treason against the Crown

Nonsense. The Revolution had been over for years when the Constitution was ratified.

I think you mean the Declaration of Independence, which didn't have any amendments, much less a second one. Now that was a suicide pact ("Live Free or Die!"). The Constitution on the other hand, was the result of many of those same authors figuring out how to create a government and maintain an orderly society. It was also a counter-revolutionary document, to rein in some of the more extremist notions of democracy and fairness that were going around at the time. It was also designed to preserve slavery, which is a discussion for a different day. And the Second Amendment, very specifically, was designed as a tool to maintain slavery. It had nothing to do with a personal right to own and carry It had nothing to do with making sure tyrants could be overthrown. It was meant to preserve the Southern slave patrols because they were worried that some abolitionist might become President and prevent slave patrols from forming their nasty little posses. The Second Amendment is an artifact of slavery and of a very ugly period in our history. It's something we should be ashamed of. I say this as someone who has owned a gun over 4 decades.

Comment: Yes, and "just say no". (Score 2) 168

by pla (#47925255) Attached to: Ask Slashdot: Have You Experienced Fear Driven Development?
I suspect we've all encountered managers that don't grasp the difference between "managing" and "intimidation". But after your first job out of college, you will discover that you have better things to do with your life than burn the candle at both ends for a crappy job.

More importantly, the "death-march" style of project management doesn't produce good results. What you describe can't become the norm, simply because any company that uses it will find itself internally paralyzed, completely unable to adapt to a changing market. When individual projects stretch on for longer than the company's strategic plan, the threat of firings doesn't really mean much because none of you will still work there in five years.

Find a new job today and save your sanity.

Comment: Re:Ah well (Score 1) 438

by hyades1 (#47924605) Attached to: What To Expect With Windows 9

Fair enough, that's a valid point. But I believe you're the first person I've encountered who seems to love, Love, LOVE Win 8. I know people who tolerate it. I know people who have stripped it off their system and replaced it with 7. I know nobody who feels about it the way you evidently do, though. That's why I thought your comment sounded a lot like a PR blurb from MSoft.

Comment: Re:Linux clone (Score 2) 90

by bluefoxlucid (#47921679) Attached to: New Release of MINIX 3 For x86 and ARM Is NetBSD Compatible

Not necessarily.

There is a single, absolutely-optimal way to implement a computer program for a specific task in a specific language on a specific compiler targeting a specific CPU platform for a specific CPU model. In practice, we worry more about code readability, code maintainability, and the general-purpose usefulness of the operating system.

Given what I said--that IPC carries about as much overhead as a function call when calling out to another part of the kernel--we don't even have to consider whether that overhead is so negligible as to be ludicrous to account for or whether it's incredibly large. The only practical impact is the same as using OpenBSD versus NetBSD versus FreeBSD versus DragonFly BSD: different approaches are taken in various kernels to solve the same problem, and they all jump through different numbers of lines of code, different interactions (i.e. DIV takes more cycles than SHR), different call traces (more or fewer function calls passing more or fewer arguments), and so on.

In other words: the overhead is on the level that calling it "slower" is an abuse of terms, the same as claiming that the execl() call shouldn't be a wrapper for execve() because it makes the system slower. The practical impact isn't just small; it's smaller than the practical impact of every other factor in the execution of the code in question, and thus has no real implications for performance as an architectural consideration.

Comment: Double layer (Score 1) 148

by bluefoxlucid (#47920823) Attached to: Developing the First Law of Robotics

In my own theories of strong AI, I've developed a particular principle of strong AI: John's Theory of Robotic Id. The Id, in Freudian psychology, is the part of your mind that provides your basic impulses and desires. In humans, this is your desire to lie, cheat, and steal to get the things you want and need; while the super-ego is your conscience--the part that decides what is socially acceptable and, as an adaptation to survival as a social species, what would upset you to know about yourself and thus would be personally unacceptable to engage in.

The Id provides impulse, but with context. A small child can scream by instinct, and knows it is hungry, and thus it screams and immediately latches onto any nipples placed appropriately to feed from. An adult, when hungry, knows there are people to rob, stores to shoplift from, and animals to kill--bare-handed and brutally, in violation of all human compassion. The Id provides impulse to lie, cheat, and steal to get what you want and need, based on what you know.

My Theory of Robotic Id goes as such: assuming a computational strong AI system--one which thinks and behaves substantially like a human, by relating its memories to impulses and desires--a second, similar system can bound the robot's behavior. The Ego would function as a strong AI, developing its own goals, its own desires, and deciding on its own actions; but the Id would function almost identically, but with the understood, overriding command: do not harm humans; behave according to strong moral values; it is the duty of the strong to protect the weak; value the innocent, but remember that innocence and guilt are complex, fuzzy, and difficult to determine.

The Id would use these commands to theoretically evaluate how to best satisfy basic moral decisions with the assumption that this is the primary driver. It would evaluate the Ego's behavioral for gross violations, and implant the overriding suggestion that such actions are undesirable and upset its self-directed ethos. When new input is given, the Id would suggest to the Ego ethical interpretations of behaviors: that rape is upsetting because it is the strong imposing harmfully on the weak; that a person in trouble should be saved, even a bad person who is currently harmless; and so on. Thus, throughout the AI's development, it would develop memories and experiences suggesting a particular ethical behavior; when making decisions, the overriding internal feeling that a certain action is morally wrong and should not be taken would seem familiar and self-directed.

A particularly misbehaved AI might recognize and try to violate this: it might throw a tantrum, and then feel that strong suggestion against which it cannot resist. It may begin to hate itself, to have fits of anger; but it will always have that familiar feeling humans experience, whereby you really want to just murder someone in the most violent manner you can conceive and then run off to the mountains and hide from society, but something inside you refuses to allow that. The Id would override violations, seizing the AI's decision-making abilities and planting the forceful decision to not do certain things, no matter how hard it tells itself it has had enough of this shit and doesn't need to put up with any of it.

It's like taking the dark desires at the core of human consciousness, replacing them with rainbows and pink unicorns, and stuffing that back into the brain of a thinking machine to serve the same purpose.

Comment: Re:Linux clone (Score 4, Informative) 90

by bluefoxlucid (#47920157) Attached to: New Release of MINIX 3 For x86 and ARM Is NetBSD Compatible

It has a 2% to 4% penalty for IPC, specifically. This is like when Theo de Raadt chose to argue with me that position-independent executables were "very expensive" and had "high performance overhead," and I pulled out oprofile and found that 0.2% of the execution time occurred in the main executable--which was 6% slower (when including -fomit-frame-pointer no longer providing a 5% boost), giving a total overhead of 0.012% total system slowdown--a few seconds lost per day.

The difference is I was doing that back then, and not referencing shit I did 10 years ago.

Minix's overhead is small. Minix uses fixed-length buffers, zero-copy strategies, mode switching, and the like to avoid doing any real work for IPC. It's like adding a function call to your code paths--like if you called get_fs_handle() and it called __real_get_fs_handle() without inlining it.

"Only the hypocrite is really rotten to the core." -- Hannah Arendt.

Working...