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

As I said, it's unclear. I could construe "panel scaling" options as the nVidia ones.

nVidia even refers to them in documentation as "panel scaling" options.

comment 12y ago · link · parent

I'm surprised this doesn't interfere with accessibility guidelines.

comment 12y ago · link · parent

The author is not confused about non-native resolutions; they pointedly mentioned that regardless of settings, they could not get lower screen resolutions to fill the entire panel:

  Regardless of panel scaling options, the UP3214Q would not
  fill the screen at lower resolutions.
Since they were talking about the nVidia card in the context, I assume they're talking about the nVidia control panel settings for this. But it's possible they were referring to some options the display offered.

comment 12y ago · link · parent

  In the old days it was possible to access members of
  structs inside unions without having to name the
  intermediate struct. For example the code in the sed
  implementation uses rep->ad1 instead of rep->reptr1.ad1.
  That’s no longer possible (I’m pretty sure this shortcut
  was already out of fashion by the time K&R was published
  in 1978, but I don’t have a copy to hand).
Wrong; it didn't just work in the "old days". The functionality described here is actually known as "anonymous struct" and is now a part of C11; but unfortunately not a part of C++11:

http://stackoverflow.com/questions/8622459/why-does-c11-not-...

gcc and other compilers have also supported this functionality for a long time, although as a non-standard extension. This technique is also still widely used in systems-level programming and is hardly "ghastly" although I'll readily admit that there are better ways to accomplish what this particular case was doing.

comment 12y ago · link · parent

I'm uncertain why someone would downvote my comment above, but shared library versioning is a real thing, and it is a best practice:

http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html

http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries...

https://www.usenix.org/legacy/publications/library/proceedin...

Linux distributions heavily depend on this for the GCC runtime libraries (such as libgcc_s); it's how they provide backwards compatibility.

Many operating system distributors also rely on symbol versioning for their shared libraries as well so they can compatibly evolve interfaces for consumers.

So my original point stands, if someone incompatibly updates a shared library without accounting for versioning, they're doing it wrong.

comment 12y ago · link · parent

It isn't a non-event; you may not get some (or any) security fixes because the vendor didn't provide the latest Android update.

Given how much many people depend on their phones and how much information they usually have on them, I think security is pretty important.

That's why I got a Nexus 5; I'm confident I'll continue to see updates for some time.

comment 12y ago · link · parent

If someone updates a library incompatibility, they deserve what they get. That's why shared libraries have versioning.

In the mobile space, it would be even more beneficial if platform holders and ISVs actually followed this; the memory and space usage savings could be substantial.

comment 12y ago · link · parent

I'm well aware of that. Which is why I specifically said they all share the same copy.

As for the shared framework; that's not true necessarily. Not all system frameworks are included in the app bundle.

comment 12y ago · link · parent

If anything, in my mind, not using shared libraries is a security issue.

For example, if every application links to a static version of some image loading library, then all of the applications must be patched if there is a vulnerability in that library.

Whereas if they all share the same copy, you patch the library, and they all get fixed.

I'm aware that model works better when the same vendor is providing all of the binaries, but there are cases where it's also appropriate for general ISVs.

comment 12y ago · link · parent

I don't see Aereo as taking advantage of other company's content for free, anymore than internet providers, TV manufacturers and others are. They're providing a transit service; nothing more.

Your argument about them not existing without the content applies to all sorts of businesses, not just Aereo.

The TV network's arguments are specious at best; if a TV antenna manufacturer had somehow invented sufficiently advanced technology for an antenna that could pickup TV signals from any specific area in the US, they would be just as upset.

I view Aereo as nothing more than providing a special antenna that is leased to a customer.

The reliance of the TV networks on the limitations of technology to ensure the success of their business model is not my problem.

In the end, I don't care anyway, I haven't had an antenna or cable TV in nearly a decade. And I don't consume network TV content on Netflix or the like with any regularity. They could all disappear and it wouldn't matter to me.

comment 12y ago · link · parent

The marketing droids won, you'll just have to get over it. Even the $3,600 Sharp monitor Apple sells that's labeled "4K" has the same resolution:

  With its 32-inch class (31.5-inch diagonal) screen size, 3840 by 2160 Ultra-HD resolution...
http://store.apple.com/us/product/HD971LL/A/sharp-32-pn-k321...

You and I can be bitter about it all we want, but there's no point.

comment 12y ago · link · parent

The Macbook has a better trackpad and the (legal) ability to run every major desktop OS.

That's worth $300 to me...

comment 12y ago · link · parent

The buyer claims to have purchased it on Feb. 19th 2013, which would definitely still be within a one-year warranty period.

Regardless, the claim is that Toshiba is refusing to honor the warranty because of the country the laptop is in, not because the warranty is expired.

comment 12y ago · link · parent

You're right; I had forgotten about TFS.

comment 12y ago · link · parent

  Most game devs -- I'd say even most devs in grown-up, professional shops -- use p4.
Hence why I said "realistically, perforce or other solutions appear to be even more popular among that particular developer segment." My comment you quoted was comparing the popularity of Mercurial to Git, not p4.

Also, I'd disagree with your assertion regarding "most devs in grown-up, professional shops". Microsoft's SourceSafe has a large following among the corporate world. And many of the largest tech companies I'm aware of don't use p4 primarily; they use git, mercurial, svn, cvs, SourceSafe, home-grown solutions, etc.

comment 12y ago · link · parent

Yep, I don't understand the author's assertions about Mercurial either.

Mercurial remains a better choice for a few use cases where git simply falls flat.

Among game developers, in particular, because of their need to have revision control for large assets, Mercurial seems to be more popular than git due to the large files extension.

And realistically, perforce or other solutions appear to be even more popular among that particular developer segment.

Personally, I use Mercurial wherever possible, but that's not because I believe Mercurial to be technically superior, it's just because I hate git's UI.

Perhaps among the general FOSS community git is more popular, but both git and Mercurial have yet to met the needs of many developers.

comment 12y ago · link · parent

There's always a performance tax, even on desktop.

With that said, I did miss the "mobile" bit.

comment 12y ago · link · parent

AdBlock is available for Chrome and works just fine.

I don't know about Safari.

comment 12y ago · link · parent

The argument I imagine is that if you value something you produce or own as worthless, so will everyone else.

It's one of the reasons why I think game creators and music creators shouldn't be afraid to take a stand on pricing. What is your time and work worth?

comment 12y ago · link · parent

See also Eric Lengyel's take on this which he calls the Transvoxel Algorithm:

http://www.terathon.com/voxels/

comment 13y ago · link · parent

The vast majority of successful software is arguably based on antiquated principles.

People seem to continually blame X11 as the source of all of Linux's woes, completely ignoring the history of computing.

Most high-end workstations were UNIX-based at one time, and the graphical interface ran on X11. People forget that Photoshop, Internet Explorer, and Adobe Acrobat Reader used to be produced for UNIX and UNIX-like systems.

X11 is not the primary issue at hand with Linux; nVidia has proven that repeatedly.

At most, I'd be willing to agree that X11 is not optimally architected for local rendering context, but again, I don't think that's going to make the huge difference that people seem to imply.

comment 13y ago · link · parent

Sure:

http://www.jetbrains.com/idea/webhelp/reloading-classes.html

Mind you it's limited to the built-in method swapping that the JVM offers.

But you can get more; see also:

http://blog.jetbrains.com/idea/2013/07/get-true-hot-swap-in-...

It was more than sufficient for my needs.

comment 13y ago · link · parent

My day job and most of my time is spent writing C/C++ code, so I'm usually working in vim. But IntelliJ is really, really good.

The auto-completion is so phenomenal in IntelliJ, you'll be tempted to learn Java just to use it. Yes, that's fairly hyperbolic, but after using IntelliJ, I just can't ever go back to Eclipse or any other Java IDE.

The ability to edit programs while they were running and then see the changes nearly instantaneously after saving without restarting the program was fantastic. (Worked just as well as Eclipse's after a few tweaks.)

What I'm really looking forward to is what they do with C/C++ and possibly Go some day.

IntelliJ is worth every penny if you write Java code; don't doubt it for a moment. Download the trial and use it if you find that hard to believe.

comment 13y ago · link · parent

The author of the change in Java discusses it in more detail here (from the article): http://www.reddit.com/r/programming/comments/1qw73v/til_orac...

comment 13y ago · link · parent

After Microsoft stops providing security updates, it will no longer effectively work.

You really, really need to upgrade somehow.

It really is necessary.

If you can't upgrade Windows, you need to consider moving to a different operating system.

comment 13y ago · link · parent

What's the license? For the love of pete people, please include a license in your repositories!

comment 13y ago · link · parent

The importance is consistency and recognition as you point out.

But writing "See ID" on the back of the card and then using a completely different signature on the receipt is not acceptable as far as I know.

comment 13y ago · link · parent

Per the terms of the cardmember agreement that you agreed to, you are required to sign the back of the card. If you do not, you are not authorized to use the card for any transactions.

It's all very silly anyway given that online credit card transactions almost never require a signature.

Quite honestly though, once a thief has access to your card, you have other problems. If they're close enough to see it, they're likely close enough to duplicate it and leave you the card with you ever knowing.

If the signature is that concerning, then use one signature consistently for your credit card transactions that's unlike the one you use for anything else.

If you don't like that option, then you probably shouldn't be using credit cards currently offered.

comment 13y ago · link · parent

Technically, the card isn't valid unless signed.

Most credit card companies prohibit the "See ID" that some people put on their cards in place a of a signature.

comment 13y ago · link · parent

Unless required by local or state law, most major credit card companies prohibit the requirement of supplementary identification to complete a transaction.

With that said, they require verification of the signature on the back of the card with the one on the receipt / screen.

In the event that the card is not signed, you are then allowed to require identification and the card must be signed by the customer before it is used.

1
252627
41