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

Actually, Google Wallet works almost exactly the same as ApplePay (my spouse has an iPhone 6, I have a Moto X 2014); I've seen and used both.

Just tap the phone on the NFC device and that's it (the PIN pad at the retail may then prompt you to hit credit or debit, if you choose debit, you just enter your wallet pin again). If Google Wallet needs to be unlocked first, it will prompt you for the wallet pin.

In fairness, it used to be far more cumbersome. They fixed most of the user interface problems with the release of Android 5.0.

comment 11y ago · link · parent

I think Ryan Gordon (aka 'icculus') is proof that the right solo person can do such a port :-) Nevermind Casey Muratori or others I could name...

There are many small, talented indie developers that definitely have the right set of skills to bring an engine to a new platform, or to one that's just slightly different.

For example, porting an engine from Linux to FreeBSD or some other UNIX should be trivial, but impossible without source code access.

Now I doubt many games are going to be ported to those platforms, but imagine a 3D walkthrough program for an architectural client or manufacturing facilities where UNIX is still found.

comment 11y ago · link · parent

I understand what you're saying, but as someone that has followed various game developers closely, especially those that do porting work, source access is a huge win in many cases.

Imagine your game shipped on a version of Unity that's no longer supported but you want to continue using it for projects or bring back an old game to a new OS platform. Without the source, your only option is to port the game to a new version of Unity. That's not so great.

But again, I'll readily admit that all of this is only a win if you have the right team with the right skillset. There are definitely tradeoffs involved.

comment 11y ago · link · parent

Nevermind that their offering is superior in terms of long-term product maintenance and potential platform offerings since you get complete source access.

Unity's advantage remains in the asset area with its pipeline and arguably easier to approach editor, but source code access is a huge win for any developer that has the skills needed to maintain a product long-term.

comment 11y ago · link · parent

I was hoping (sadly) that based on the name, this meant there was a port of node.js to spidermonkey by the Mozilla team. Other posters have mentioned this as well.

This is sort of a "lazy web" request, but does anyone know why node.js needs v8 specifically? Would it really be that hard to support node.js on spidermonkey?

comment 11y ago · link · parent

  There I would like that at least they support
  "Bounds-checking interfaces (Annex K)" from C11,
  which is optional.
The bounds-checking interfaces are really something that has to be provided by libc, so Solaris itself will provide those.

Although it isn't highlighted in the release notes in an obvious way, most of the support for C11 is also available in the 12.4 release of the Solaris Studio compiler. The primary things missing are the same things they don't have for C++11: concurrency and atomic primitives.

comment 11y ago · link · parent

I suppose I could see the "most up to date" argument, but Intel looks like it has the most complete commercial compiler at the moment for C++11.

But certainly, the next most complete support for C++11 in a commercial compiler might just be from Oracle Solaris Studio (which, despite the name, is available for Solaris and Linux both):

http://docs.oracle.com/cd/E37069_01/html/E37071/gncix.html#s...

It supports all C++11 features excluding: C++ 11 concurrency and atomic operations, and User-defined literals.

Notably, Oracle Solaris Studio is also one of the few compilers to include full C99 support.

comment 11y ago · link · parent

Leonard actually addresses that in a few a places, though I don't have a link handy right now. The short version is they're creating a game that's almost entirely defined by procedural content.

To even attempt such a thing requires a lot of good tools because they not only need those tools to build procedural content for the game but for their userbase to be able to as well.

He seems well aware of the trap here and is trying his best to avoid it.

comment 11y ago · link · parent

From the bottom of the article under "Origin of the File":

  The source was posted on the Korean-language blog
  6502.tistory.com without further comment, in a marked-u
  format:...
  [ lots of interesting background here ]
  ...
  Given all this, it is safe to assume the file with the
  Microsoft BASIC for 6502 source originated at Apple, and
  was given to David Craig together with the other source
  be published.
So my guess is potentially safe to look at, but that's about it. If you have any doubts, I'd recommend not reading the original post.

comment 11y ago · link · parent

Sorry; I'll have to disagree. As part of a group that maintains Python packages for an operating system distribution, my experience has generally been more positive for the standard library compared to third-party components. Particularly when it comes to security issues.

comment 11y ago · link · parent

While I'll readily agree that some parts of the standard library are rotten, that's not sufficient justification to say that there shouldn't be one.

I should also clarify my expectations about a standard library; to me, a standard library should have all of the basics covered (interaction with the underlying system, I/O, networking, etc.) and anything that benefits from better integration with the runtime (think data types such as those found in python's collections module).

If anything, I'd argue that the main problem with Python's standard library is not the library itself, but the lack of more focused curation.

Note that I never said that I expect all functionality to be available in a language's standard library; for me personally, Go's standard library has roughly the right balance.

comment 11y ago · link · parent

I strongly disagree with that assertion; while I readily agree that some parts of the standard library are less maintained than others, as a consumer of many third-party components, I can say without a doubt that items in the core library are generally better maintained (from a security perspective) and easier to deal with.

The ease of installation has nothing to do with the desire for core components. Core components generally bring certain expectations/guarantees about security, reliability, and support.

comment 11y ago · link · parent

I think Python and Go are two examples where the standard library has very much proven invaluable.

Without it, it's difficult to be confident in the portability of components, and it quite frankly makes the language less attractive for use.

Like the other poster mentioned, I'm happy for the RUST folks to take a "wait-and-see" approach, but at some point, I believe "blessed" components are going to be expected and strongly desired.

comment 11y ago · link · parent

For others following along, I would like to point out that my original conclusion was that 1.4 would be required given the explicit statement in the document:

  To build Go 1.x, for x ≥ 5, it will be necessary to have
  Go 1.4 installed already, in $GOROOT_BOOTSTRAP.
This is subtly different from the statement in the new ports section of the document:

  For Go 1.x (x ≥ 5), new ports will have to be done by
  cross-compiling test binaries on a working system, 
  copying the binaries over to the target, and running and 
  debugging them there.

comment 11y ago · link · parent

I'm not sure why I was downvoted into oblivion; but that's actually great news.

I was under the impression from reading the boostrap document that this meant I would have to port 1.4 and 1.5. I think I completely misunderstood the new ports section as to how it related to the plan overall.

If I can get away with only porting a newer version, that's considerably easier.

Thanks for assuaging my fears.

comment 11y ago · link · parent

Well, if Go 1.4 is the last version almost entirely written in C, then for unsupported architectures/platforms, it seems like it would be the easiest to port first before bootstrapping a new version of Go. Is that not the case?

I don't feel like I have this backwards at all.

I wasn't commenting on it being a hardship to limit the implementation to Go 1.4's feature set.

comment 11y ago · link · parent

Ugh...this is going to make new ports such a pain. I can understand why they're doing it, but this is going to make my life a lot more difficult.

If 1.4 is going to become the bootstrap toolset, that also suggests that 1.4 will essentially become "long-term supported", meaning that if new ports require fixes to the bootstrap toolset (even in the cross-compilation) scenario, hopefully they'll accept those changes upstream.

comment 11y ago · link · parent

Not true. The 4790k supports vt-d. All indications are that it's a market segmentation choice Intel made.

comment 11y ago · link · parent

How is it proprietary exactly?

Android Studio is open source:

https://android.googlesource.com/platform/tools/adt/idea/

There is certainly a commercial version which is not, but you don't have to use that and Google isn't shipping that version at last check.

comment 12y ago · link · parent

That's not quite true; the "vcs" portion of the Go source code has special code to handle github.com, code.google.com, bitbucket, and some others.

It may have support for a "go-import" file that you speak of, but it definitely has hard-coded knowledge of some popular vcs sites.

comment 12y ago · link · parent

There's also:

  A Guide to Kernel Exploitation: Attacking the Core
http://www.amazon.com/Guide-Kernel-Exploitation-Attacking-Co...

...if you're interested in the kernel level exploits.

disclaimer: A co-worker of mine co-authored it.

comment 12y ago · link · parent

Wait until they discover the USA's late, self-proclaimed Emperor Norton:

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

comment 12y ago · link · parent

Caltrain passenger trains reach top speeds of 79mph:

http://www.caltrain.com/riderinfo/safety_security/Safety_Tip.... html

Now, I know you said "average speed", and that's probably a lot less depending on which train is running (limited stop, express, "bullet", local).

The BART (Bay Area Rapid Transit) "trains" also top out at about 80mph but average only 33mph:

http://www.bart.gov/about/history/facts

comment 12y ago · link · parent

It's sad to say this, but that's not the real reason.

The US ignores various agreements it's signed all the time, and international conventions, etc.

So I'd say, you're right, but only because it's convenient for them to adhere to it.

comment 12y ago · link · parent

There is an ABI most C++ vendors conform to already:

  http://www.swag.uwaterloo.ca/acd/docs/ItaniumC++ABI.htm
Almost every major vendor has been working towards this for a long time now.

Microsoft of course remains "special".

Regardless, the C++ standards committee did look at creating a portable C++ ABI in May 2014:

  https://isocpp.org/blog/2014/05/n4028

comment 12y ago · link · parent

It seems like a legitimate tradeoff; implementing hotplugging at the OS-level gives you DR capability and far more control over the process. I'm not saying they made the right decision, just saying that it appears to be a legitimate one. Obviously the disadvantage is that hot-plugging doesn't work in other operating systems when run on Apple hardware, but obviously that's not Apple's focus or interest.

Intel was willing to certify Apple's devices, so clearly the specification doesn't actually require hot-plugging to be implemented in firmware. So I wonder what the author bases that assertion on.

comment 12y ago · link · parent

Unfortunately, Opus doesn't have a proper specification, instead relying on source code in several places to provide documentation through extrapolating what code intended.

To quote Sean Barrett:

  Opus' non-public-domain code as spec is terrible.
  Independent implementation requires "clean room" = writing
  own specification!
Sean is famous among the game developer community for providing a useful variety of public domain code (i'd call them libraries, but almost all are written to be used as a single-header file include):

https://github.com/nothings/stb

1
202122
41