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 9y ago · link · parent

The president at that time didn't write an executive order preventing the entry of holders of legally approved visas or green cards from entering the country.

What they did do was pause the refugee program, which is wildly different than what you're attempting to imply:

http://thefederalist.com/2015/11/18/the-obama-administration...

And even if what you did imply happened and I've somehow missed that, you don't get to use past wrongs to justify present wrongs.

comment 9y ago · link · parent

Anti-trump stories? This is not an anti-trump story.

This is a discussion of a likely illegal, unconstitutional, dehumanizing, and ill-considered executive order that affects the lives of many people on HN and related to them.

Everyone wants to ignore problems that don't affect them, which is how the US ended up with its current leadership.

While I can sympathise with the desire for peace, now is not the time, and I'm sorry, but you're just going to have to put up with it. The time for silence is over.

comment 9y ago · link · parent

Which appears to be a violation of GitHub's terms of service, which explicitly require the ability to fork projects:

"By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories."

https://help.github.com/articles/github-terms-of-service/

comment 9y ago · link · parent

Swift's ties to Grand Central Dispatch for concurrency are wholly unfortunate though. I would have far preferred to see a native language take on that instead of porting GCD to every platform.

comment 9y ago · link · parent

It does, according to wikipedia (at least some sources are written):

> The UK does not have one specific constitutional document. Instead the constitution is found within a variety of written and some unwritten sources. This is sometimes referred to as an "unwritten" or uncodified constitution.

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

comment 9y ago · link · parent

I'm probably biased, but Solaris' role-based access control system has been very successful among its particular customer base:

https://docs.oracle.com/cd/E23824_01/html/821-1456/rbac-1.ht...

It wasn't necessary to throw away POSIX history or concerns either.

comment 9y ago · link · parent

Once again, cryptographically speaking, there's no practical sense in which a random is "high quality" or "low quality". There are cryptographically unpredictable numbers, and there are insecure numbers.

Once again, all information available to me contradicts your assertions:

"Bytes retrieved from /dev/random provide the highest quality random numbers produced by the generator, and can be used to generate long term keys and other high value keying material."

"While bytes produced by the /dev/urandom interface are of lower quality than bytes produced by /dev/random, they are nonetheless suitable for less demanding and shorter term cryptographic uses such as short term session keys, paddings, and challenge strings."

https://docs.oracle.com/cd/E53394_01/html/E54777/urandom-7d....

I doubt the Solaris KCF team is thrilled to be virtually interposed into this argument; it is unlikely that they disagree with what I'm saying, since I'm making a pretty banal observation about FIPS cryptographic DRBGs and about the plain meaning of the KCF random code.

Everything I've said has been taken from either the current documentation or from conversations I've had with the crypto team.

Since they confirmed the documentation is up to date and correct, then I don't see how your assertion can possibly be correct.

The Solaris urandom story is, in practical (end-user) terms, the same as urandom's story on Linux. There's some confirmation of this on Twitter, if you care to look.

I see no confirmation on Twitter from anyone that is currently working on Solaris -- only a past member that left the organization some time ago.

Until I have independent confirmation from the team involved, I'll have to agree to disagree.

comment 9y ago · link · parent

Here's what I can say: I asked the crypto authors about the guidance in the past. They assured me the text had been updated to reflect current guidance.

When I asked Darren about this in the past (paraphrasing from memory), the response was that constraints on the implementation and/or applied by system configuration ensure that bytes from /dev/random provide the highest quality random numbers produced by the generator, and so are the most suitable for high-value keying material.

So as I understand it, yes, it's more than just applicable to the case of requests before the kernel CSPRNG has been seeded.

Also, keep in mind that on Solaris live migration may mean that your process (well, the zone hosting it anyway) is live migrated to an entirely different system and so may be hosted by a different kernel without your process ever being aware of it. So relying on assumptions about the state of the kernel is inadvisable.

If I receive any additional information I can share, I will do so.

comment 9y ago · link · parent

This isn't your fault, but nVidia often doesn't update their product pages for older products even if they release new drivers that support newer versions of OpenGL on older products. The GTX 460 supports up to OpenGL 4.4 according to wikipedia, and I've found driver release notes that officially mention OpenGL 4.3 for the GTX 460.

comment 9y ago · link · parent

Have you tried the nVidia OpenGL 2016 driver?

https://developer.nvidia.com/opengl-driver

As far as I can tell, the GTX 460 supports up to OpenGL 4.4.

comment 9y ago · link · parent

The illumos code is more than five years diverged from Solaris. It is no longer a point of valid comparison for some subsystems such as crypto.

Use of urandom contrary to official guidance is not recommended.

comment 9y ago · link · parent

I have personally verified that the documentation and guidance in Solaris is up to date and correct per the authors.

As I said before, and I as I will say again, the differences do matter for some administrators with specific contractual and/or other obligations and when generating "high value" keying material.

If you choose to advise others contrary to the documented guidance that Solaris provides, that is your choice.

comment 9y ago · link · parent

Let me put it plainly -- system configuration can affect /dev/random in ways that do not affect /dev/urandom.

As a result, organizational or contractual requirements that a system administrator may have are only guaranteed to be met when using /dev/random.

This system configuration is specific to Solaris, which is why Solaris is different than Linux.

comment 9y ago · link · parent

As a result of system configuration or specific requirements placed upon an organization, contractual or otherwise, only /dev/random is guaranteed suitable for high-value keying material.

So from a programmatic standpoint, developers should use /dev/random on Solaris if they believe the material being generated is "high value". It is up to the developer to determine whether the material being generated is "high value".

comment 9y ago · link · parent

Can you be specific about why you believe Solaris urandom would be unsuitable for any specific cryptographic task?

The short version is that, on Solaris, /dev/random has certain guarantees that /dev/urandom does not and so if you are generating long-term keys or high-value keying material, you should use /dev/random.

While Solaris (over time) has tried to make the differences between the two as little as possible, for a variety of reasons, they are not identical.

As just one example, one difference between the two is that, for organizations or individuals with specific security requirements, /dev/random can be configured to use only hardware-based sources registered with the kernel-level cryptographic framework by disabling the software-based provider using cryptoadm.

The fact that the "Solaris cryptographic framework team" believes something to be true is inadequate evidence for me.

They are the domain experts, authors of said material, and my friends. I'm sorry that you don't believe them, but I've known some of them almost a decade or more and I have no reason to believe they have anything other than the best interests of others in mind when they provide this guidance.

In the end, you'll have to choose what to believe on your own, all I can tell you is that the Solaris crypto team provides the guidance that "high-value" keying material should be generated using /dev/random and that I have every reason to believe that advice is sound and competent.

comment 9y ago · link · parent

Careful, the rules for random vs. urandom on Linux do not apply to all other NIX or NIX-like operating systems. As an example, Solaris makes them different intentionally and provides guidance on their appropriate use.

I'll just point to my comments from last time:

https://news.ycombinator.com/item?id=7363188 https://news.ycombinator.com/item?id=7364121

comment 9y ago · link · parent

So what's the business model here? This is a "free" product, so how does Vivaldi intend to ensure its continued existence?

comment 9y ago · link · parent

LLVM is generally usable on sparc, although a significant amount of optimisation work still needs to be done, and there are some specific variants/platforms that sparc is used by that need better support.

comment 9y ago · link · parent

I had the privilege of working with Roger from time to time over the years as part of the Solaris Kernel group (which I am still currently part of). I also had a rare opportunity for a more personal conversation with him during a trip to Manchester in 2015 where he regaled me with tales of his home and life.

Roger's greatest gift was "telling it like it is", but always in a way that you knew was truthful, well-meaning, and not in a way purely for the sake of offence. He always cut right to the heart of the matter, and of course his distinguished Carolinian accent helped soften the blow to your ego.

The last time I had the opportunity to collaborate with him was on a fairly minor addition to Solaris libc I was making -- pthread_getattr_np, in January of this year (2016).

Let me tell you from experience that the greatest praise any engineer could receive and the greatest sign of success for their projects was Roger's endorsement.

I miss him greatly, and UNIX and the world feels lessened by his passing.

comment 9y ago · link · parent

I don't see how Google is really putting piles of money into Go. In fact, in terms of maintainership and porting I'd say collectively that many other companies are investing more in Go than Google. What can you point to as piles of money?

comment 9y ago · link · parent

Hiding or encapsulating information is arguably part of the very nature of an abstraction; the CLIs provided by git and Mercurial could be considered an abstraction of the implementation details of the respective technologies.

As such, I fully expect each tool to hide some amount of information so that I don't have to think about the details.

comment 9y ago · link · parent

Linux distribution? I think you mean *BSD distribution.

comment 9y ago · link · parent

The Solaris package manager (aka "pkg(5)") also uses a SAT solver for dependency resolution (minisat):

https://blogs.oracle.com/barts/entry/satisfaction https://docs.oracle.com/cd/E36784_01/html/E36856/glulp.html

However, a large drawback to SAT solutions is friendly messaging when no solution is found; just as hard as doing the initial dependency analaysis if not more difficult.

There are also interesting corner cases such as "metapackages" (in Debian terms) and alternatives, etc.

https://docs.oracle.com/cd/E53394_01/html/E54820/dependtypes...

For pkg(5), almost all of the magic is here:

https://java.net/projects/ips/sources/pkg-gate/content/src/m...

comment 9y ago · link · parent

Solaris is one of them, unless you made significant changes to the kernel itself.

Darwin, as shipped by Apple is another.

There are a variety of embedded OS' that are the same.

So yes, as shipped and delivered, you can't replace the standard library and the vendors both consider the standard library as part of the OS.

And furthermore, existing application binaries for those platforms would not work without them.

comment 9y ago · link · parent

You are very confused and quite frankly very wrong.

The original claim was the standard library is not part of the OS. However, the standard library is objectively part of the OS on many platforms and so the original claim is factually incorrect.

My so-called "view" reflects the industry accepted definition of an OS, so perhaps you should review your suppositions.

comment 9y ago · link · parent

As the other respondent posted, the standard library is the only interface to the operating system on some platforms.

For example, on Solaris and various *BSDs, the syscall interface is private or unstable and is explicitly NOT an interface.

So without the standard library, none of the applications could run.

That sure sounds like part of the operating system to me, and fits various accepted definitions such as the one Wikipedia provides.

And yes, I would consider the file explorer included with Windows part of the operating system, as most people I think would also.

The confusion here seems to come from the Linux world, where components are mix and match; where you can pair the kernel with an entirely different base.

That isn't true of many other operating systems; the base distributed set is designed to work together and provide the environment and platform for applications.

comment 9y ago · link · parent

Yes, exactly. This is especially true on Darwin and Solaris.

comment 9y ago · link · parent

The standard library is usually delivered as part of the operating system on *nix-like platforms.
1
121314
41