Better HN
topnewbestaskshowjobs
Log inSign up

binarycrusader

3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions

Windows Developer @Microsoft. Hobbyist Game Developer. My words are my own and not those of any affiliate or employer. Formerly: Solaris Principal Software Engineer at Sun Microsystems/Oracle.
Submissions

comment 10y ago · link · parent

Not every package manager, for example the Solaris 11 package manager explicitly does not support install time scripting for this reason among many others:

https://blogs.oracle.com/sch/entry/pkg_1_a_no_scripting

comment 10y ago · link · parent

I understand and agree with your particular assertions about copyleft and unix pipes, etc. but disagree that it's a "bugbear".

I know from experience some organizations are perfectly willing to contribute changes back upstream on MIT/BSD-licensed components, but avoid GPL components simply because of the additional constraints and potential liability concerns that have to be dealt with. Apple is a perfect example given the additional conditions of the GPLv3.

comment 10y ago · link · parent

No, on Solaris Go uses libc. I know because I am one of the people that worked on the port.

Windows is similar in that regard to a degree as well.

comment 10y ago · link · parent

Sometimes the maximising the likelihood of a set of components being used is more important than potential licensing constraints. In this particular case, if they're not GPL, they're more likely to be used for various *BSD systems and in a variety of embedded contexts.

Improving the general security and reliability of all systems seems like it might potentially be a more valuable goal.

comment 10y ago · link · parent

Realistically? Never. If you're running on a UNIX system, libc is your only portable interface to the system. You can use the syscall layer on some NIX-like platforms (such as Linux), but it will leave you to replicate a lot of the work that it already does.

On Solaris, as one example, there is no stable syscall layer -- libc is your only interface to the system. There's good reason for that too; on Solaris, libc is updated with security and performance improvements on a regular basis for each new hardware generation and other improvements in the operating system. It automatically accounts for things that might cause pipeline stalls (think memcpy, etc.) in newer processor generations, and so on.

Now with that said, what you could advocate is that libc, etc. be rewritten in RUST, but exposed via the "C" ABI convention that RUST provides. It wouldn't be as great as native RUST, but it would still be an improvement.

There are no compelling arguments for getting rid of libc that I've heard yet for platforms where libc is well-maintained. On Solaris, there are strict compatibility guarantees for every interface, so applications can assume changes in libc will never break them as long as the interface they're using lists an appropriate stability level in the manual page.

A world where every language implements its own version of libc seems like it would increase the number of defects, not decrease them. We could of course argue that those implementations might be better than libc, but I think whatever possible benefit there might be there is lost in the likelihood that each language will have its own flaws in its implementation.

I believe the best view of an operating system is as a fully-integrated set of components. Everything from the kernel up to the system libraries should look and act consistently, and that's impractical to do if every component is viewed as interchangeable. Integration from top to bottom in an OS stack can produce incredibly great results and provide unparalleled reliability, availability, and performance.

comment 10y ago · link · parent

For a lua equivalent see http://polycode.org

comment 10y ago · link · parent

So you think it's OK to demand the shutdown of a site, saying it "should be taken down immediately"?

If it's potentially exposing the personal information of others, yes. The fact that the above statement values the hypothetical feelings of a person providing the aforementioned site rather than the personal information potentially exposed by anyone using the site suggests that perhaps priorities have not been evaluated properly.

My statement was simple, short, and to the point. No criticism of its author was made nor intended.

comment 10y ago · link · parent

Engineers have a moral, ethical, and potentially fiscal responsibility to secure the personal data of individuals they are asking for.

It is not demanding or arrogant to require and/or expect secure connections when an organization is requesting personal data.

comment 10y ago · link · parent

Account creation and login pages are also served over HTTP. This site is insecure and should be taken down immediately.

comment 10y ago · link · parent

Update from one of the demo authors:

"The Adam demo runs in 1440p at 30fps on a GTX 980, by the way :) See it running real-time at the Unity booth at GDC!"

https://twitter.com/robertcupisz/status/710160351568986112

So it's very likely that the YouTube video was rendered with far better hardware.

comment 10y ago · link · parent

Except that was in reference to the demo they gave at GDC while using the editor. Not necessarily the card used to render the demo, someone should ask.

comment 10y ago · link · parent

Sure, but same info here: http://thenextweb.com/gadgets/2016/03/16/check-amazing-short...

Someone should ask though given another poster's comment below about the GDC demo of the editor where they were using a GTX 980.

comment 10y ago · link · parent

From the YouTube comments:

Processor: Octacore Intel Core i7 6th Generation GPU: Nvidia GeForce Titan X (3x SLI)

comment 10y ago · link · parent

It's easy to spend a few hours on work (especially in the computing field) and feel a sense of accomplishment; not so much with life.

Programming often feels like a series of little victories to me, and it's much harder to achieve that outside of work.

comment 10y ago · link · parent

"They were copycats on the important stuff, though. Not pioneers. They played it pretty safe"

Copycats? You're going to resort to name calling in an attempt to discredit actual success and reality?

Name another commercial UNIX operating system today that has an equivalent to Solaris role-based access control fully integrated throughout the entire operating system and components, especially one that supports the "two-person" rule:

https://blogs.oracle.com/gbrunett/entry/enforcing_a_two_man_...

"RHEL w/ SELinux and security add-ons. Argus on Solaris and Linux. Trustifier on Linux. Seems like there's four on two OS's depending on your measurement."

RHEL isn't UNIX and their security model is nothing compared to Solaris.

"Smart move."

Apparently not as smart as quoting lots of facts not relevant to the given context (desktop operating system) and then dismissing decades of R&D and actual commercial success of Solaris in a snide manner.

Enjoy your pyrrhic victory.

comment 10y ago · link · parent

Note I said pioneered, not invented, and the context is a desktop operating system.

Solaris contains the only surviving commercial implementation that I'm aware of that is still available and being updated and was last shipping in Solaris 11.3.

As far as I know, Solaris is also the last general (not tied to specific hardware), commercial UNIX.

Yes, we can nitpick all day about certification levels, but I never mentioned any of that.

comment 10y ago · link · parent

The amusing thing to me is that Solaris provided similar security over a decade ago in the Trusted Desktop:

http://www.oracle.com/technetwork/articles/servers-storage-a...

https://en.wikipedia.org/wiki/Solaris_Trusted_Extensions

The whole idea of encapsulated data paths with labeled domains, etc. were all pioneered first in Solaris.

The unique spin here with Qubes OS seems to be do something similar, but using virtualization.

comment 10y ago · link · parent

Gog is great for consumers, not so much for developers. The terms of their contracts are not particularly friendly to developers. The specifics are all NDA'd.

comment 10y ago · link · parent

The actual commit:

https://groups.google.com/forum/#!searchin/golang-checkins/r...

From what I recall reading about the change, it was believed it would allow them more flexibility in the frontend, and they greatly preferred to write the parser in Go instead of yacc.

Also, at this point, they felt this would also make it easier for others to contribute improvements to the project.

comment 10y ago · link · parent

Not all of the performance issues encountered when a pool exceeds 90% capacity are related to fragmentation.

Some implementers have been able to significantly reduce the pain of those situations.

comment 10y ago · link · parent

No, you really can't. Not only is the version available on OS X significantly out of date, it isn't even fully functional for the level of OpenGL it claims to support.

comment 10y ago · link · parent

As long as the general public is legally permitted to do it, then yes, I think it's fine.

I agree with the outcome of the case, just not necessarily how they arrived there.

As for attaching things to utility poles, etc. yes, most cities and local governments have rules/laws about that, they're just usually not strongly enforced. As an example:

"No one is allowed to attach to utility poles in the state of Pennsylvania without permission from the pole owner."

https://www.pplelectric.com/at-your-service/for-contractors-...

As long as the government had a warrant, or this was a private citizen exercising their legal rights, I have no problem with it.

What I would have a problem with is the government performing surveillance that only they could legally do without a warrant or evaluation by a judge of some kind.

comment 10y ago · link · parent

Yes, a public member could charter a plane, and that would be fine.

Utility poles are generally owned by a private company though or the local government and are regulated.

Members of the public are not generally permitted to hang things or attach things to them, and since they are usually located on private property or property that the local government has rights to, the general public also isn't generally permitted to place things on them.

comment 10y ago · link · parent

There's also the issue that no member of the public would legally be allowed to attach a camera to a utility pole like that.

Nor would they be allowed to create their own temporarily-installed pole with a camera on the top.

So to me, the public view argument only holds if the public was capable of it.

comment 10y ago · link · parent

Meaning every restart brings the system back to a fresh state. Most trojans/backdoors persist because they're able to modify the underlying OS to load them on boot. No, immutable OSes are -- by no means -- a new idea. This just uses the approach by default.

Ok, then yes, Solaris read-only zones provide that level of immutability.

Not talking about the kernel specifically. Although there's no reason the bootup time should be slowed down by loading unnecessary HAL, drivers, protocols, utilities that will never be used in a server setup. GBs of modules was referring to the rest of the OS made up mostly of features that will never be used by the server.

A good operating system will be smart enough to only load what it needs; there will be some inefficiency, but protocols, drivers, HAL are actually used in server setups and are not usually the source of significantly increased boot times unless they're misconfigured. Also, with a proper service management facility and packaging, it should be possible to simply omit unnecessary items; services are usually what contribute the most to startup time.

Crypto support is one big issue. I'd assume if the OS uses V8 at the base level, it should be able to be packaged with OpenSSL.

Right, but you generally need more crypto administrative capability than OpenSSL alone provides to manage a sufficiently complex application. (e.g. gnupg, etc.)

Security auditing at the OS level isn't required to the same degree it is on other OSes because the attack surface is so small.

Sorry, I'll have to disagree on that point. Auditing is always important because it allows you to determine what happened and why when privileged operations are involved. The overhead of auditing is almost completely determined by what an administrator chooses to audit and how detailed that auditing is.

For instance, you don't have to check for SSH vulnerabilities when there's no SSH.

Perhaps you misunderstood what I referred to when I spoke of auditing; I don't speak of checking for vulnerabilities -- packaging should generally handle that in combination with metadata and reporting. I was referring to the recording of the assumption of privileged operations, system authentication, and related details.

The userspace sandbox isn't necessary because everything that's network-facing already has to run through V8's sandbox.

Disagree again; the point of having a userspace sandbox is in case something escapes V8's sandbox, which has been done in the past. It's an extra line of defense.

Application-level vulnerabilities will always be an issue but that's nothing new. This doesn't solve all problems. Just reduces the potential for issues.

While it reduces the number of problems in the existing space, I personally believe it creates new problems. I'm not sure the tradeoffs are worth it.

I would rather see an immutable container with a minimised set of packages with proper auditing enabled. That's far easier to test and deploy and doesn't create new problems.

comment 10y ago · link · parent

What do you mean by immutable?

If you're talking about the on-disk files, that's possible to do without throwing away almost everything -- Solaris does this using read-only zones (ROZR).

If you're talking about the kernel itself; that can never be truly immutable. An OS had to read and write memory.

I also don't understand the claim about "GBs worth of modules"; if you're talking about kernel modules, there shouldn't be "GBs" to start with.

As for security theatre; I hardly think crypto support, auditing frameworks, qualify. So you need to define that as well.

comment 10y ago · link · parent

How about by reading the dates on the material? It clearly states it was initially published in August 2015.

Then, by reading the chapter on "hardware and software" in the introduction, you would have the remaining explanation you desired.

comment 10y ago · link · parent

They've also moved to Ireland recently, so the information posted is no longer valid as far as I know as they're no longer a staff member according to the organization's web site.

comment 10y ago · link · parent

Regardless of what license the project is filed under, as an individual contributor working for free for the community, the license of a project determines the terms under which I am sharing my work. I expect those to be respected in perpetuity, and I would like the right to rescind my contribution if the copyright holder is in violation of the license.

The CLA is just another license to consider with the project; just like projects that have the "any later version" GPL clause. That little addition is important to some individuals.

I think a more successful argument would be against the lack of specific guarantees in existing CLAs, rather than CLAs themselves.

For example, the CLA could give joint copyright to the involved parties, but also agree to only publish the code under a license published by the Free Software Foundation.

CLAs, as you point out, are sometimes a necessary mechanism to ensure that a project can correct licensing issues when they arise. Obviously, through careful choice of licensing it may be possible to avoid the need for a CLA entirely, such as is starting to be done with the Apache License 2.0 by some projects.

So I would think of this differently: depending on the license, some projects may need a CLA for protections only available to them with one. For those projects, the community should encourage them to encode their intentions in the CLA to assuage fears and provide certain guarantees to contributors.

Finally, keep in mind that the entire world does not follow US Contract / Copyright law (or even the bern conventions). In some countries, a CLA may be the only possible way to ensure that a project won't have problems later. While the current versions of today's "free software" licenses have generally tried to account for that, legal situations change over time.

1
151617
41