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

All good, except you didn't bother posting anything of meaningful value.

In what way, precisely, can Solaris objectively be qualified as what you describe?

comment 12y ago · link · parent

I'm not sure why my comment was downvoted, but having read and gone through over half of the Land of Lisp personally, I can factually state that it does indeed have multiple game exercises involved.

To quote from the book page:

  Along the way you’ll create (and play) games like Wizard
  Adventure, a text adventure with a whiskey-soaked twist,
  and Grand Theft Wumpus, the most violent version of Hunt
  the Wumpus the world has ever seen. 
http://www.nostarch.com/lisp.htm#toc

If someone would like to argue that it does not have a "game approach", I would like to see the specific reasoning as to why.

comment 12y ago · link · parent

Regardless, I disagree with the assertion. linux-vservers barely had their first 1.0 release about a year (2004) before the release of Solaris Zones as a beta. It's likely that the actual development of Solaris zones started around the same time as linux-vservers.

Even if you were to successfully argue that it "predates" Solaris zones -- it doesn't predate them by very much.

The fact that Linux requires the kernel to be patched is not just a cultural thing; it's a very large additional maintenance cost and proves that linux-vserver wasn't valuable to go and stay in the mainline kernel. I spent enough years maintaining Linux servers that required mainline kernel patches (such as a workstation at home) that I grow tired of it.

You can't blame Sun/Oracle for the failure of Linux to produce a completely equivalent technology.

The primary problem is that none of the mainstream Linux distributions have chosen to actually build a fully-architected platform including both the kernel and userland. The OpenStack project is finally forcing some of them to do that, but until they have a filesystem just as capable as ZFS (btrfs someday?), a packaging system that's just as deterministic and capable as IPS (Nix someday?), they'll always be a little bit behind.

Integration matters in the operating system; it makes a huge difference in terms of capability, reliability, and user experience.

In the end, use the right OS for the right job. I happen to believe Solaris is the right OS for servers, but I develop and distribute software for Windows, Mac OS X, Solaris, and Linux as I think they are either great or generally reasonable desktop OS systems.

comment 12y ago · link · parent

How is it unreasonable to compare the functionality of zones in 2014 to linux-vservers which are also under active development in 2014?

You're going to have to provide some actual data to support your assertion that linux-vserver was ever the "principal containerization solution".

LXC and OpenVZ do not have every advantage zones have; zones have other advantages because they're integrated with OS features that only Solaris (and derivative) operating systems have out-of-the-box -- such as ZFS. Which provides the ability to rapidly snapshot, clone and deploy containers. Zones also have other advantages that LXC and OpenVZ do not because of the networking stack features offered in Solaris.

The so-called "weight" of init and basic services is meaningless. But don't take my word for it, just download the Solaris 11.2 Beta and try it for yourself. Theorising about the potential "weight" of init and basic services (which are fairly minimal) is premature optimisation.

As I said before, Docker doesn't provide the full security isolation that Solaris Zones does; I'm sure it's the right style of solution for specific cases, but it is not an appropriate general solution for isolation or containerisation.

comment 12y ago · link · parent

Sorry, but I'm going to disagree.

linux-vserver is not contemporary with zones. If you think that it is, you haven't looked at Solaris zones technology very carefully.

linux-vserver requires the kernel to be patched; Solaris zones does not.

linux-vserver has no clustering or process migration capability; Solaris zones in combination with LDOMs gives you a path for live migration.

linux-vserver networking is based on isolation, not virtualization. This means each virtual server can't create its own internal routing or firewall setup -- Solaris zones can.

linux-vserver doesn't fully virtualize the system; clock, parts of /proc and /sys are not virtualized.

So no, linux-vservers are not equivalents.

Yes, docker offers containerization -- but not sufficient containerization. Certainly not sufficient for security purposes as have come up repeatedly in recent history.

As for the "weight" of zones; I don't know what "weight" you're talking about. Solaris zones have almost no overhead at all. They use some disk space, but we're talking less than 300MB if I recall correctly at most in a default configuration. And Solaris Zones give you several advantages that Docker doesn't provide.

Regardless, I'm certain that for some specific use cases, Docker will prove an appropriate technology.

comment 12y ago · link · parent

Uh, the land of lisp has the let's make a game approach as well. I'm not sure I understand what aspect you're talking about.

comment 12y ago · link · parent

This is not a swipe at Docker; it's an interesting technology if you're running Linux and I'm sure it will be very valuable to many.

However, let's not forget that Solaris had this functionality first.

Solaris has offered hypervisor-level virtualization (LDOMS) on SPARC, light-weight "virtualization" (Containers/Zones) on SPARC/x86, and now offers full system virtualization out of the box (Kernel Zones) SPARC/x86.

And there's also OpenStack and Puppet system management integration in Solaris 11.2+.

comment 12y ago · link · parent

Honestly, given the fashion designs I've seen for many of the "higher end" watches available from department stores, this doesn't seem that large by comparison.

But personally, I stopped wearing a watch over a decade ago because I hated the feeling of wearing one and I constantly damaged them by accident (catching them on a door, etc.).

comment 12y ago · link · parent

I was looking for the book, but your link didn't work for me, this one did:

http://www.amazon.com/Programming-Erlang-Concurrent-Pragmati...

comment 12y ago · link · parent

And I personally couldn't be happier; most of the projects I'm involved with use Mercurial. So to me, git's interface is difficult to understand and foreign despite my own efforts to try to lean it.

GitHub and SourceTree combined have taken all the pain way from me using git.

comment 12y ago · link · parent

As someone who was left even farther behind with Opera 10.11 (last version for Solaris), I'll never use Opera again:

  http://www.opera.com/download/guide/?os=solaris-intel&list=all
But more seriously, even if I could get past that, I see no obvious, compelling reason to use Opera when I already have FireFox 29+ available to me.

comment 12y ago · link · parent

That's really annoying; the headline claims one thing and the later text clearly contradicts.

Regardless, both of you appear to be correct:

  BlocksRuntime - a target-independent implementation of
  Apple "Blocks" runtime interfaces.
http://compiler-rt.llvm.org/

comment 12y ago · link · parent

Indeed, I don't think you do:

  Blocks are supported for programs developed for Mac OS X
  10.6+ and iOS 4.0+,[1] although third-party runtimes
  allow use on Mac OS X 10.5 and iOS 2.2+.[2]
http://en.wikipedia.org/wiki/Blocks_(C_language_extension)

comment 12y ago · link · parent

Your clarifications are helpful, but your initial post certainly didn't imply such nuance. Regardless, I appreciate you taking the time to better explain your position.

With that said, I still disagree with your conclusion that Sun and Oracle has no "cultural tradition of taking toolchain usability seriously". Again, I strongly disagree and believe that does not apply to all products or projects.

Perhaps it doesn't apply to the degree that you want, but you are claiming that it doesn't exist at all, and I can assure you that was / is not the case based on people I know that have worked on many of those projects.

  At multiple employers, having spent 6-8 figures on Oracle
  database or enterprise business applications, we used to
  get things like critical security updates delivered as a
  ZIP file with instructions for where to copy files and
  what permissions to set them. Sure, it's not that hard to
  roll a pkg, rpm, etc. but why should every customer need
  to do that?
I completely agree that there should be a better update system; Sun was already working towards a better one which was first introduced in Solaris 11: The Image Packaging System. It was a new packaging system intended to simplify software updates for all of Sun's Solaris customers. The Glassfish team also chose to leverage for their product, distributing updates for Glassfish on Solaris, Windows, Linux and even Mac OS X via IPS.

  Sun wasn't ... it took 20 minutes to have the systems in
  production running Debian Linux and we spent less time on
  OS support over the life of hardware than trying to get a
  core feature to work once.
I sympathise, but again, this is why a completely new packaging and installation system was introduced in Solaris 11; to avoid problems like that. It helps ensure administrators have easy access to updates and always performs OS updates in a way that can be easily reverted if there's a problem.

If that's even mildly interesting to you, there's a website where both the FOSS source code for the new packaging system and the reasoning behind it is available:

https://java.net/projects/ips/pages/Home

The "Background Reading" section on that page has several helpful links that talk about the reasoning and philosophy behind it.

Solaris 11+ has a great update story compared to pretty much any UNIX-like system out there today. To update to the next release of the operating system, it's generally as simple as:

  pkg update
Now behind that simple command lies an entire set of processes that happen each time it is executed:

1) newest "package catalog" is retrieved from the configured package repositories (local and/or remote)

2) determines which packages are installed, and what all of the newer versions of those packages are

3) parses dependencies of all packages involved to establish the transitive closure of the dependency graph

4) transforms dependencies into a set of boolean statements that can be evaluated by minisat, the boolean satisfiability solver that's used

5) takes the solution (if one is available) provided by the solver and then maps that to the equivalent set of packages

6) retrieves package manifests for all packages that will be upgraded, added, or modified

7) determines differences between installed version and target version ensuring that only files that have changed between package versions are retrieved and only files that need to be updated, installed, or removed are modified

8) organises differences based on the order they need to be executed as a single set ignoring package boundaries, performing reference counting and conflict checking

9) retrieves only the files that will be upgraded or installed as part of the operation

10) determines if the operation can be safely performed on the live system, if it cannot, it will create a snapshot of the root filesystem and clone it, otherwise, it will take a snapshot of the filesystem as a precaution before execution

11) executes planned operation, executes commands that prepare new boot environment for use, etc.

12) if operation succeeds, new boot environment (if applicable) is activated

Or put more simply, when you execute 'pkg update' on Solaris 11+, generally only a copy of the system is updated. So if the update fails, you can just pick an older boot environment from the GRUB2 menu and be right back to a working system in moments.

The other big difference from all of this, as an example, is that the package system is capable of upgrading from any older version of Solaris to any newer version of Solaris.

There are no patch readmes or zip files; administrators just update from one version to the next -- the system figures out the rest. It even knows when upgrades require a firmware update.

comment 12y ago · link · parent

My point was that you generalised your experience with one product to all things ever produced by either company. Generalisations are usually wrong.

You claimed none of their products ever showed any care about usability. Yet, at last check, they all had fairly extensive documentation, accessibility work done to them, and clearly do many things that consider the user experience.

Like I said, you're clearly venting. Consider being more constructive in your comments, or at least focusing on something specific instead of just ranting.

comment 12y ago · link · parent

Exactly, Solaris 11 has a "proper" package manager: Network-based repositories, SAT-solver-based dependency management, signed packages, boot environments, etc.

comment 12y ago · link · parent

In this case, every jdk install is available from the Solaris network package repository. Just like many Linux distros.

Linux distributions have the same problem so I don't understand the downvotes.

comment 12y ago · link · parent

As I said, then you haven't used Solaris 11.

For example, the vim package name is 'editor/vim'. A similar naming scheme is used for almost every package.

comment 12y ago · link · parent

  Installing updates is a complete trainwreck for almost
  every product they've ever released and that's one of the
  most basic tasks for a software vendor."
Then you haven't used Solaris 11, because in general, installing updates for the OS (and Java and many other things) is as simple as: pkg update

Also, your generalisations about 'no cultural tradition of taking toolchain usability seriously' are simply not true, I can show you plenty of tools where clearly whoever was working on them did care about usability.

With that said, I'm sure you're just venting and didn't mean what you said "literally"...

comment 12y ago · link · parent

I vehemently disagree with you rayiner (which is pretty rare) on this particular point.

Imagine, if you will, that a "corporation" had existed since ancient times that owned the copyrights on all of the Art, Maths, Literature and other intellectual treasures that have enriched humanity as a whole. Do you really want an immortal, gatekeeper entity that could hold back the entire progress of humanity?

Before you claim that supposition as absurd, consider that we now have at least one company that has "existed" since 705 A.D. (1,309 years ago):

http://en.wikipedia.org/wiki/List_of_oldest_companies

comment 12y ago · link · parent

An operating system can retain its memory between reboots using only RAM, as long as the reboots are not "cold" reboots (that is, machine powered off and then back on, or reset through hardware instead of software).

It of course depends on hardware support, but it can be done even today on select platforms.

comment 12y ago · link · parent

AMD does for their Athlon FX processors, but support is mostly dependent on the motherboard. With that said, most of the AMD motherboards for AM3+ support it, and it's limited to unbuffered ECC.

Unfortunately, that means choosing ECC over power and performance vs. Intel. It's really a sad state of affairs.

comment 12y ago · link · parent

It doesn't help that Intel has artificially limited ECC support to specific processors. As the amount of memory in PC increases and the frequency at which components operate, the probability of memory errors increases, yet Intel still foolishly refuses to support ECC in their consumer line selling it as a "server" feature and limiting it to Xeons.

comment 12y ago · link · parent

And this is one of many reasons why you should use ZFS for your data. ZFS guarantees the atomicity of renames and would not have this problem. On Solaris and FreeBSD at least. I don't know about ZFS on Linux.

comment 12y ago · link · parent

Maybe it isn't "advice", but it is subjective interpretation, since the results are an interpretation of a single study. Nor does the study appear to account for other factors, such as physical constraints.

Obviously, in my particular case, I can't physically write for more than a few minutes at a time.

And quite frankly, my handwriting has degraded to the point where it's barely legible even to myself unless I place a rather exhausting amount of effort into it.

comment 12y ago · link · parent

While this advice sounds great, I assure you it doesn't apply to everyone.

For example, I've never been able to write for extended periods without my hand cramping horribly. I suspect it's because I've been typing since somewhere before or at the age of five years old.

I type fast enough that I can keep up with most speakers word for word if I need to.

Writing them down? Forget about it; in the time it takes me to actually scribble out a few short words, the speaker has long since moved on and I'm already lost.

I think the better suggestion instead is to minimise distractions. Turn off wi-fi, open your favourite editor in full-screen mode, and avoid other applications. Apply the technology effectively instead of blaming it for the failure.

comment 12y ago · link · parent

Yes, please. I don't use it often, but when I do "hg rollback" makes my life simple.

comment 12y ago · link · parent

Works fine here in FireFox 29.0 on Solaris no less.

comment 12y ago · link · parent

Yes, Apple has posted a pre-release version here:

https://developer.apple.com/library/prerelease/ios/documenta...

1
222324
41