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

And here, perfectly illustrated, is a reminder why I don't like using some source code version control systems. I don't want to understand the precise implementation of my source code control system, and I don't personally believe that I should have to for effective use.

I realise this is likely an unpopular opinion, but I would challenge you to reply with justification rather than inevitably downvoting me into oblivion.

One of my software development mentors (a long time mechanical engineer who has done UNIX OS development for 20+ years) often has this as his email signature and I think it's rather apt in this context:

  Civilization advances by extending the number of
  important operations which we can perform without
  thinking about them.
With that said, I'm not advocating complete ignorance of how a version control system "works", I just find the philosophy of "you must learn the internal data formats and workings of this system to use it effectively" more than a bit distasteful.

comment 11y ago · link · parent

Eh, ultimately it's a game, and games are about fun -- not usually about fully accurate simulation.

When the two can go hand-in-hand great, but I'll pick fun over accuracy every time for a game.

Now with that said, if your purpose is to build an accurate simulation -- go for it! But SimCity has always been a game first and foremost to me with a quasi-interesting simulation.

comment 11y ago · link · parent

I was of a mixed mind with SimCity 4; there were certain things about it that were much better and other things not so much.

I enjoyed the Rush Hour expansion more than the original SC4. One thing that SC4 did extremely well though was music and general presentation, although I'll admit to missing much of the original composer's music for SimCity 3000/2000.

SimCity 2000 had a lot of great mechanics but a fairly terrible interface -- somewhat understandable given its original incarnation as a dos game and certain UI mechanics hadn't come along yet (such as being able to use the scroll wheel or panning around).

But I'll always fondly remember when I upgraded to a SoundBlaster AWE32 just so I could get "real midi" music from SimCity 2000 :-)

comment 11y ago · link · parent

Sorry, but I've never agreed with "mods are the fixes" approach. I evaluate products (which is what this is) based on how the creator has released them -- not based on modifications others provide.

In addition, mods aren't a great option since doing so marks you as a "cheater" or disables achievements, etc.

I generally agree with your conclusions about SimCity (2013) though; generally great UI, but tiny city sizes, online services dependency (which is greatly mitigated now as of the "final" patch), and some of the "streamlining" done to the game.

comment 11y ago · link · parent

Don't get me wrong, Skylines is basically a good game to me, but as someone that has been playing the "Sim" series of games since the original SimCity, I think they missed many of the lessons learned by those games and really could have released a much better game.

Most of my qualms with Skylines are sort of "nitpicking", but they are pretty glaring:

  1) the annoying tweet bird with no option to disable (at
  last check) because the devs felt it was central to their
  design

  2) terrible UI graphics (I know this is subjective,
  but...) seriously; the UI graphics are not very
  polished compared to SimCity 2000 or SimCity 3 even
  and look like they were made by a programmer

  3) funky road placement; the road placement tools have a
  lot of the same "floaty" feeling that SimCity "5" did that
  has lead to much frustration (see the skylines subreddit
  for various complaints about this)
Personally, I wish someone would create a modern version of SimCity 2000 instead using a voxel engine. I miss the precision of placement that it had and the simplicity of various systems.

With that said, they did get a lot of things "right" as far as I can tell, such as traffic simulation, map size, and general performance (mostly thanks to Unity really....) and their friendliness to mods, no extra drm, etc.

comment 11y ago · link · parent

As should be apparent, Oracle is focused on the high-end server market and those that have strict reliability and high scalability requirements; inevitably, that means that much of the community that is focused on commodity hardware is going to be less interested given pricing and focus.

I'm not sure what open source packaging projects you're referring to; the image packaging system itself is still quite alive and still open source and available at https://java.net/projects/ips

If you're referring to the general availability of open source software on Solaris, the reality is that the vast majority of compiles and works on Solaris. A large amount of effort has gone into and continues to go into making it easier to build and use general FOSS on Solaris.

In addition to that, based on customer demand and business requirements, FOSS components are integrated into Solaris and updated.

As for "completely ridiculous choice", I think that's an odd thing to say. Solaris has zones, ZFS, image packaging, openstack, and many other compelling technologies (third party or otherwise) that are still being actively developed and improved. Performance and reliability are pretty important attributes for an operating system.

comment 11y ago · link · parent

Which I believe is originally a quote from Brian Kernighan:

  Everyone knows that debugging is twice as hard as writing
  a program in the first place. So if you're as clever as
  you can be when you write it, how will you ever debug it?
The quote attribution I found indicated that it was from "The Elements of Programming Style", 2nd edition, Chapter 2.

http://en.wikiquote.org/wiki/Brian_Kernighan

comment 11y ago · link · parent

  In short, Solaris is a wasteland. Oracle seems to just be
  milking the remaining corporate users until the cash cow
  falls over dead.
I can't even begin to fathom how you say that given the addition of OpenStack and a large set of other components for it in Solaris 11.2. Or the new virtualization options such as Kernel Zones, etc.

Quite frankly, it's quite the opposite of what you describe. Oracle has been hiring aggressively for Solaris since the acquisition and has been making significant investments in Solaris technology, which shouldn't be surprising given their continued investment in SPARC.

comment 11y ago · link · parent

If you're talking about chroot jails, no, it was possible to "escape" jails they did not provide true isolation.

If you're talking about some other jail, possibly, but my understanding is they didn't actually provide true isolation. Certainly not a kernel-level of abstraction.

comment 11y ago · link · parent

Actually, as of Windows 8.1 (64-bit only), ReFS is now supported which does have those features:

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

So in the near future, Windows will have an answer for the general mainstream, while OS X will be left far behind.

Even ignoring the checksumming issue, HFS+ has known pathologies not only in reliability but in performance compared to NTFS or even ext4 on Linux.

HFS+ is long overdue for replacement.

comment 11y ago · link · parent

No, I'm using the defaults for what OS X specifies when you first install. Which means journaling is turned on.

See John Siracusa's article:

http://arstechnica.com/apple/2011/07/mac-os-x-10-7/12/

comment 11y ago · link · parent

Guarantee that it wrote the data correctly. Think checksums, like what ZFS/Btrfs have:

http://en.wikipedia.org/wiki/Data_corruption#SILENT

Same goes for when it reads back the data.

comment 11y ago · link · parent

And you seem to be completely ignoring the fact that a filesystem that can't even guarantee that it wrote the data to an intermediate storage device correctly is fundamentally unreliable.

That is the core issue.

Yes, well-integrated offline backup solutions mitigate some aspects of the problem, but when your filesystem can't even guarantee that it did its job correctly, it doesn't matter how well-integrated your "backup" solutions are because the data may already be corrupt.

Nevermind that the "well-integrated" backup solution you are describing here, because of the unreliable filesystem, can't even guarantee that it read the data from disk correctly to a reasonable degree.

This is not some anecdotal "Mac OS X burned me" story -- this is a fundamental, architectural issue. Data loss is real -- and so are my concerns about HFS+.

comment 11y ago · link · parent

Yes, there are LPARs, but we were discussing software-based virtualisation. LPARs are more partitioning than virtualization which is very different from a multi-tenancy perspective.

The equivalent to LPARs in the Solaris world would be LDOMs on SPARC.

comment 11y ago · link · parent

Solaris containers are no longer just a kernel level of abstraction though. As of Solaris 11.2 they're also capable of providing a near-system-level of abstraction via "Kernel Zones":

http://docs.oracle.com/cd/E36784_01/html/E37629/

These allow virtualization of multiple, independent instances of the operating system each with their own version of the kernel and processes. It is not the same as running multiple instances of VMWare, etc. since it is specifically designed to handle virtual Solaris instances:

https://blogs.oracle.com/zoneszone/entry/install_a_kernel_zo...

comment 11y ago · link · parent

If I'm offline for some period of time and upload photos to my laptop, an unreliable filesystem has every chance to corrupt my data before it gets uploaded to the cloud when I eventually reconnect.

The "cloud" option itself simplifies the backup process and could potentially reduce the window of a chance for corruption, but it does not eliminate the need for a reliable, local filesystem.

comment 11y ago · link · parent

Yes, everyone refers to jails, but I think most people would agree that jails weren't really containers. They didn't provide true isolation for a set of applications. I guess you could argue they were the original prototype for them though.

Solaris containers are the first "lightweight virtualization" technology that I'm personally aware of that provided true isolation of one more processes from the host operating system and host processes.

comment 11y ago · link · parent

What terrifies me (as a MacBook Pro owner) is the recent realisation (due to some random corruption of iphoto data, and yes I have a backup device to restore from) that OS X has a fundamentally unreliable filesystem sitting on top of ever-expanding storage devices that many of us are depending on to archive our photos and other data.

I don't understand why Apple keeps pushing the capabilities of the system further and their hardware but haven't yet addressed the critical data storage issues that are eating away at the edges.

comment 11y ago · link · parent

You forgot the part where Solaris did containers first in 2005.

Others "realised" the value of this later and started improving upon the ideas contained within.

Although I'm sure many might argue that this is the natural conclusion of virtualization.

comment 11y ago · link · parent

Your response seems to imply that there aren't still teams working on Solaris that can deliver large new pieces of functionality.

You also seem to be unaware that many of the "major features" you talk about in past releases were designed and implemented by people that are still working on Solaris today and sometimes in those same areas.

Also, I have no idea why you place kernel zones in quotes -- kernel zones was actually a massive project. Not a simple variation of existing zones technology. It provides true virtualisation of Solaris on Solaris with minimal overhead compared to alternatives.

Solaris has lots to show for five years of development if you understand the engineering effort required and even more is coming -- just wait until 11.3 and Solaris 12. You'll see things from Solaris you never expected. It's bit insulting to imply that bringing things like OpenStack to Solaris wasn't a significant effort. Many of these technologies are Linux-centric and required significant engineering effort from an architectural and technical perspective to provide an integrated solution.

Solaris also has interfaces and functionality that is not available in other Solaris-based distributions; especially in upcoming releases.

comment 11y ago · link · parent

Solaris is actually still being developed; I have no idea why you think otherwise. If anything, Oracle's been on a hiring spree since the acquisition and has grown the systems business considerably compared to Sun.

If you think Solaris isn't still in development, just wait for the Solaris 12 announcement details.

comment 11y ago · link · parent

So only some distributions get a stable ABI but not others, leaving users of distributions with less support with a less usable system.

I sincerely question the supposed benefits of this tradeoff.

I have yet to see any articulated beyond hypothetical improvements in ease of implementation and zero benefit to the average user.

comment 11y ago · link · parent

It's sort of silly to imply that only RedHat users care or that only RedHat users should benefit. All users need and benefit from stability.

comment 11y ago · link · parent

  So yeah, it's possible to build a kernel that provides
  interfaces that drivers can rely on across many versions.
  Not without a cost, though.
Software engineering is all about tradeoffs and making the right ones, I feel the Linux kernel community has made the wrong one by forcing those costs onto users instead of helping absorb some of that themselves.

I never said it was free or that there wasn't a cost; I just said that usability is important and have implied the Linux kernel developers should care more than they do now.

comment 11y ago · link · parent

  No, your anecdotes do not constitute facts or
  objectivity. More importantly, I'm not the person you
  would have to convince, and the people who would need
  to be convinced consider this argument over and done
  with long ago.
Then why are you still arguing it? Why are your anecdotes somehow superior to mine (if you want to call an entire mainstream market "anecdotal" evidence)?

  By accumulating a massive amount of cruft that they can never remove.
  Yes, it's possible; it's also possible to run the old kernel in an
  emulation layer to run older drivers, but that doesn't make it a good
  idea. (Though that'd probably still be a better idea than attempting to
  support the old in-kernel APIs in a newer kernel.)
No, and no. As a kernel developer (my day job) I can assure you that is not the case. And note I never said that you have to maintain ABI/API compatibility forever. Even operating systems with stable API/ABIs do change them from major release to major release.

The point is, the Linux kernel could successfully adopt a stable ABI/API without accumulating all of the "massive cruft" you claim is impossible to avoid and make lives better for their users. At the very least, providing an ABI/API they guarantee to be stable for some period of time instead of breaking things almost every point release.

  And incidentally, if you need kernel ABI stability, you can also go run
  RHEL, which backports changes from newer kernels while maintaining in
  kernel ABI stability for out-of-tree drivers, within a given major
  release. So for the support lifetime of that RHEL release, you can
  count on ABI stability.
So in other words, there's a genuine need for a stable API/ABI and RedHat supports it, but you still think it's stupid and useless to have and there's clearly no need for Linux to do it, except RedHat has proven there is a market for it. Hmmm....

  And, in practice, a shockingly successful one. There's very little
  mainstream hardware left that the kernel doesn't have in-tree support
  for. (No, that's not an invitation to enumerate the remaining
  exceptions.) And even for a fair bit of nVidia hardware there's the
  reverse-engineered nouveau driver, which is good enough for desktop
  environments and light gaming on the hardware it supports
"Pay no attention to the exceptions; it's a complete success!" The exceptions are proof that it's not a complete success and yes, quite frankly, some hardware that is not widespread enough or is special to a given organisation doesn't belong in the Linux mainstream kernel. What would be the point of "accumulating all that cruft" after all...

  However, for a production-quality Linux system, it makes more sense to
  select hardware with in-tree drivers.
Right, because all of those Linux systems at DreamWorks and other places with nVidia cards in them aren't "production-quality"; oh wait...

And how many of those various crashes and other problems reported with nVidia systems are due to the rapid changes in the Linux kernel instead of the driver itself? You could argue it's hard to say without source to the nVidia driver, but that seems like a tautology at best.

It's fine that we disagree, but your assertions thus far are easily contradicted by the entire mainstream market (nevermind your own RedHat example) so sound kind of silly.

comment 11y ago · link · parent

  ABI stability is not a feature, it's a bug. It means you
  can't fix the kernel and every driver in it, and you have
  to keep legacy interfaces around.
Sorry, but I strongly disagree and that's a factually, anecdotally, and objectively incorrect statement. OS X, Windows, AIX, and Solaris all manage to provide stable interfaces for drivers while still evolving the underlying implementation significantly. So clearly, it can be done.

A properly designed API/ABI allows evolution of the implementation while retaining compatibility through interface.

  Out of tree modules are a bug; pick hardware that
  doesn't need them.
The idea that the Linux kernel should or can contain all support for all hardware ever is an ideological pursuit at best.

  And the stability issues aren't just with keeping the
  drivers up to date. Users who run the nVidia proprietary
  driver regularly report crashes and stability issues.
And people still report stability and crash issues with mainline kernel drivers too, just perhaps less frequently, so that's really an orthogonal concern. Quality of implementation is not an argument I would want to use against good architectural software practices such as having a stable API/ABI. I'm also quite familiar with the argument that "if the source is open, people can fix it and make it better!" -- I think the recent OpenSSL problems have proven that just because the source is open doesn't mean anyone is fixing problems there.

Regardless, the real losers here are the users; I don't frankly care about the proprietary vs. not arguments and holding up some ideological standard as the ultimate goal seems like it's missing the point -- computers are just tools, and we should spending more time on improving the usability of them for users not fighting ideological wars.

comment 11y ago · link · parent

Unfortunately, that's really the result of the API/ABI choices that the Linux kernel developers have made. There are no stable interfaces for kernel modules, and they frequently break existing interfaces.

This means that any third-party driver that is not included in the mainline kernel source is effectively broken either via API or ABI almost every kernel update.

So it's not specifically a proprietary driver issue since even third-party open source drivers that are not in the mainline kernel break too.

Yes, nVidia could choose to open up their driver and contribute it in a way that it was included in the mainline kernel and therefore breakages would happen far less often. But ultimately, the real problem is the API/ABI instability on Linux.

With the above said, as others have mentioned, it shouldn't generally break every update if you have dkms, etc. setup properly.

comment 11y ago · link · parent

This looks really neat, but there's no license or copyright notices as far as I can tell. Author, please add a license to your repository!

comment 11y ago · link · parent

...and the most worthless camera placement yet seen potentially on a laptop.

comment 11y ago · link · parent

The difference I believe came with the ability for the app to automatically be run in the background and for control over which one was used for Tap and Pay, which given today's announcement from Google makes sense.

Maybe this was fixed in Android 4.4, but I would swear the experience changed for me sometime right at or after 4.4.

Notably, I didn't have to make sure the app was open and wallet unlocked first, whereas with Android 5.0 it "just works".

1
192021
41