3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions
comment 12y ago · link · parent
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#tocIf 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
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
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
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
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
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
http://www.amazon.com/Programming-Erlang-Concurrent-Pragmati...
comment 12y ago · link · parent
GitHub and SourceTree combined have taken all the pain way from me using git.
comment 12y ago · link · parent
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
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
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
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
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
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 updateAlso, 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
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):
comment 12y ago · link · parent
It of course depends on hardware support, but it can be done even today on select platforms.
comment 12y ago · link · parent
Unfortunately, that means choosing ECC over power and performance vs. Intel. It's really a sad state of affairs.
comment 12y ago · link · parent
comment 12y ago · link · parent
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
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
https://developer.apple.com/library/prerelease/ios/documenta...